From 287bdbae82fc5955c7e829295ae8a1387da324a8 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 6 Aug 2019 23:59:13 -0600 Subject: resolves #1194 add the .notdef glyph to the bundled fonts (PR #1195) --- scripts/subset-fonts.pe | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/subset-fonts.pe b/scripts/subset-fonts.pe index 8c1d2b78..9c7e5894 100755 --- a/scripts/subset-fonts.pe +++ b/scripts/subset-fonts.pe @@ -237,6 +237,8 @@ while (fi < num_copy_fonts) #endif # BOM (zero-width no-break space) and no-break space SelectMoreSingletons(0ufeff,0u00a0) + # Keep .notdef, which will be used as the default glyph if the font is missing a glyph + SelectMore('.notdef') # Drop all glyphs that weren't selected SelectInvert() Clear() @@ -355,6 +357,8 @@ while (fi < num_code_fonts) new_suffix = "-" + script + "-conums.ttf" endif endif + # Keep .notdef, which will be used as the default glyph if the font is missing a glyph + SelectMore('.notdef') SelectInvert() Clear() SelectNone() -- cgit v1.2.3