Fix if no translation is given
This commit is contained in:
parent
55593c2ee3
commit
b1b6e9b8de
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class SvgToPdfInternals {
|
|||
this.doc = advancedApi;
|
||||
this._images = images;
|
||||
this._rects = rects;
|
||||
this.extractTranslation = s => extractTranslation(s).replace(/ /g, " ");
|
||||
this.extractTranslation = s => extractTranslation(s)?.replace(/ /g, " ");
|
||||
this.currentMatrix = this.doc.unitMatrix;
|
||||
this.currentMatrixInverted = this.doc.unitMatrix;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue