From 1f5d727e698478148ba45ecb4d9fecd5e971b334 Mon Sep 17 00:00:00 2001 From: Balearica Date: Mon, 6 Jan 2025 23:59:27 -0800 Subject: [PATCH] Fixed bug with PDF font objects --- js/export/writePdfFonts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/export/writePdfFonts.js b/js/export/writePdfFonts.js index cd4366e..5f9cbf1 100644 --- a/js/export/writePdfFonts.js +++ b/js/export/writePdfFonts.js @@ -277,7 +277,7 @@ export function createEmbeddedFontType0(font, firstObjIndex, style = 'normal') { const toUnicodeStr0 = createToUnicode(font); let toUnicodeStr = `${String(firstObjIndex + 5)} 0 obj\n`; // Add 2 to length to account for \n characters - toUnicodeStr += `<>\nstream\n`; + toUnicodeStr += `<>\nstream\n`; toUnicodeStr += toUnicodeStr0; toUnicodeStr += '\nendstream\nendobj\n\n';