Skip to content

Commit

Permalink
fix escaping of font names
Browse files Browse the repository at this point in the history
  • Loading branch information
HackbrettXXX committed Dec 3, 2020
1 parent 344ecb0 commit 6855421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/utf8.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ import { jsPDF } from "../jspdf.js";
"<</Subtype/TrueType/Type/Font/ToUnicode " +
cmap +
" 0 R/BaseFont/" +
font.fontName +
pdfEscapeWithNeededParanthesis(font.fontName) +
"/FontDescriptor " +
fontDescriptor +
" 0 R" +
Expand Down

0 comments on commit 6855421

Please sign in to comment.