diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/t1_load.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/t1_load.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/t1_load.c b/Build/source/texk/dvipdfm-x/t1_load.c index da6ed660888..6dbaf51a787 100644 --- a/Build/source/texk/dvipdfm-x/t1_load.c +++ b/Build/source/texk/dvipdfm-x/t1_load.c @@ -744,6 +744,7 @@ parse_charstrings (cff_font *font, offset = 0; have_notdef = 0; /* .notdef must be at gid = 0 in CFF */ + font->is_notdef_notzero = 0; seek_operator(start, end, "begin"); for (i = 0; i < count; i++) { char *glyph_name; @@ -756,6 +757,9 @@ parse_charstrings (cff_font *font, tok = pst_get_token(start, end); glyph_name = (char *)pst_getSV(tok); + if ((i == 0) && (strcmp (glyph_name, ".notdef") != 0)) + font->is_notdef_notzero = 1; + if (PST_NAMETYPE(tok)) { RELEASE_TOK(tok); if (!glyph_name) { |