From 04943223383217f1c4d771f5d904602cc367a2d9 Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Wed, 15 Jul 2020 13:32:09 +0200 Subject: [PATCH] Try passing --glyph-names to pyftsubset --- lib/subsetLocalFont.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/subsetLocalFont.js b/lib/subsetLocalFont.js index ae9a65ba..0dde9b38 100644 --- a/lib/subsetLocalFont.js +++ b/lib/subsetLocalFont.js @@ -48,6 +48,7 @@ async function subsetLocalFont( tempInputFileName, `--output-file=${tempOutputFileName}`, '--passthrough-tables', + '--glyph-names', `--text="${text.replace('"', '\\"')}"`, '--unicodes=U+0,U+D,U+20,U+FFFD', ];