forked from minhngoc25a/freetype2
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:
parent
0a178144e8
commit
885f5b0b4e
|
@ -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).
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue