summaryrefslogtreecommitdiff
path: root/src/psaux
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2018-10-07 09:03:05 +0200
committerWerner Lemberg <wl@gnu.org>2018-10-07 09:03:05 +0200
commit885f5b0b4edb0c00a48af3eabe98507cf4f94430 (patch)
tree3e3b88827c140ad610cd0a0e725ab8e12b470c36 /src/psaux
parent0a178144e85594e15cd83e3ae55e441c26f42985 (diff)
downloadfreetype2-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.c3
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,