Skip to content

Commit

Permalink
fix escaping of font names (#3018)
Browse files Browse the repository at this point in the history
fix #3000
  • Loading branch information
HackbrettXXX committed Dec 7, 2020
1 parent a2a4474 commit fb76604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/utf8.js
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 fb76604

Please sign in to comment.