From 6ca0a9356ff05c15edbc2bbd905221beacbef447 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Thu, 11 May 2023 14:31:23 +0000 Subject: [t1cid] Set FT_FACE_FLAG_CID_KEYED. * cidobjs.c (cid_face_init): Set FT_FACE_FLAG_CID_KEYED. * cidriver.c (cid_get_is_cid): Comment about the case that is_cid cannot guarantee the glyph collection specification. --- src/cid/cidriver.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/cid/cidriver.c') diff --git a/src/cid/cidriver.c b/src/cid/cidriver.c index fd015ef2e..0907b1dcf 100644 --- a/src/cid/cidriver.c +++ b/src/cid/cidriver.c @@ -141,8 +141,14 @@ FT_UNUSED( face ); + /* + * XXX: If the ROS is Adobe-Identity-H or -V, + * the font has no reliable information about + * its glyph collection. Should we not set + * *is_cid in such cases? + */ if ( is_cid ) - *is_cid = 1; /* cid driver is only used for CID keyed fonts */ + *is_cid = 1; return error; } -- cgit v1.2.1