Fix handling of FT_CONFIG_OPTION_ADOBE_GLYPH_LIST (#54794).

* src/cff/cffcmap.c (cff_cmap_unicode_init), src/psaux/t1cmap.c
(t1_cmap_unicode_init), src/sfnt/ttcmap.c (tt_cmap_unicode_init):
Check `unicodes_init' field.
This commit is contained in:
Werner Lemberg 2018-10-07 09:03:05 +02:00
parent 0a178144e8
commit 885f5b0b4e
4 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2018-10-07 Werner Lemberg <wl@gnu.org>
Fix handling of FT_CONFIG_OPTION_ADOBE_GLYPH_LIST (#54794).
* src/cff/cffcmap.c (cff_cmap_unicode_init), src/psaux/t1cmap.c
(t1_cmap_unicode_init), src/sfnt/ttcmap.c (tt_cmap_unicode_init):
Check `unicodes_init' field.
2018-10-03 Werner Lemberg <wl@gnu.org>
[ftgrays] Fix typo in stand-alone mode (#54771).

View File

@ -161,6 +161,9 @@
if ( !charset->sids )
return FT_THROW( No_Unicode_Glyph_Name );
if ( !psnames->unicodes_init )
return FT_THROW( Unimplemented_Feature );
return psnames->unicodes_init( memory,
unicodes,
cff->num_glyphs,

View File

@ -305,6 +305,9 @@
FT_UNUSED( pointer );
if ( !psnames->unicodes_init )
return FT_THROW( Unimplemented_Feature );
return psnames->unicodes_init( memory,
unicodes,
(FT_UInt)face->type1.num_glyphs,

View File

@ -3681,6 +3681,9 @@
FT_UNUSED( pointer );
if ( !psnames->unicodes_init )
return FT_THROW( Unimplemented_Feature );
return psnames->unicodes_init( memory,
unicodes,
face->root.num_glyphs,