Set FT_FACE_FLAG_CID_KEYED only if pure_cff is set.
This commit is contained in:
parent
3d2f06f399
commit
bd48d35bf8
@ -7,6 +7,7 @@
|
||||
* src/cff/cffload.h: Udpated.
|
||||
|
||||
* src/cff/cffobjs.c (cff_face_init): Updated.
|
||||
Set FT_FACE_FLAG_CID_KEYED only if pure_cff is set.
|
||||
|
||||
2008-07-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -1037,6 +1037,11 @@ FT_BEGIN_HEADER
|
||||
/* exist make FT_Load_Glyph return successfully; in all other cases */
|
||||
/* you get an `FT_Err_Invalid_Argument' error. */
|
||||
/* */
|
||||
/* Note that CID-keyed fonts which are in an SFNT wrapper don't */
|
||||
/* have this flag set since the glyphs are accessed in the normal */
|
||||
/* way (using contiguous indices); the `CID-ness' isn't visible to */
|
||||
/* the application. */
|
||||
/* */
|
||||
#define FT_FACE_FLAG_SCALABLE ( 1L << 0 )
|
||||
#define FT_FACE_FLAG_FIXED_SIZES ( 1L << 1 )
|
||||
#define FT_FACE_FLAG_FIXED_WIDTH ( 1L << 2 )
|
||||
|
@ -823,7 +823,7 @@
|
||||
cffface->face_flags |= FT_FACE_FLAG_GLYPH_NAMES;
|
||||
#endif
|
||||
|
||||
if ( dict->cid_registry != 0xFFFFU )
|
||||
if ( dict->cid_registry != 0xFFFFU && pure_cff )
|
||||
cffface->face_flags |= FT_FACE_FLAG_CID_KEYED;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user