diff options
author | Werner Lemberg <wl@gnu.org> | 2018-10-07 09:03:05 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2018-10-07 09:03:05 +0200 |
commit | 885f5b0b4edb0c00a48af3eabe98507cf4f94430 (patch) | |
tree | 3e3b88827c140ad610cd0a0e725ab8e12b470c36 /src/psaux | |
parent | 0a178144e85594e15cd83e3ae55e441c26f42985 (diff) | |
download | freetype2-885f5b0b4edb0c00a48af3eabe98507cf4f94430.tar.gz |
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.
Diffstat (limited to 'src/psaux')
-rw-r--r-- | src/psaux/t1cmap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/psaux/t1cmap.c b/src/psaux/t1cmap.c index 0c9f916f1..347e80486 100644 --- a/src/psaux/t1cmap.c +++ b/src/psaux/t1cmap.c @@ -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, |