|
|
|
@ -766,22 +766,22 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* Compute face flags. */ |
|
|
|
|
/* */ |
|
|
|
|
flags = FT_FACE_FLAG_SCALABLE | /* scalable outlines */ |
|
|
|
|
FT_FACE_FLAG_HORIZONTAL | /* horizontal data */ |
|
|
|
|
FT_FACE_FLAG_HINTER; /* has native hinter */ |
|
|
|
|
flags = (FT_UInt32)( FT_FACE_FLAG_SCALABLE | /* scalable outlines */ |
|
|
|
|
FT_FACE_FLAG_HORIZONTAL | /* horizontal data */ |
|
|
|
|
FT_FACE_FLAG_HINTER ); /* has native hinter */ |
|
|
|
|
|
|
|
|
|
if ( sfnt_format ) |
|
|
|
|
flags |= FT_FACE_FLAG_SFNT; |
|
|
|
|
flags |= (FT_UInt32)FT_FACE_FLAG_SFNT; |
|
|
|
|
|
|
|
|
|
/* fixed width font? */ |
|
|
|
|
if ( dict->is_fixed_pitch ) |
|
|
|
|
flags |= FT_FACE_FLAG_FIXED_WIDTH; |
|
|
|
|
flags |= (FT_UInt32)FT_FACE_FLAG_FIXED_WIDTH; |
|
|
|
|
|
|
|
|
|
/* XXX: WE DO NOT SUPPORT KERNING METRICS IN THE GPOS TABLE FOR NOW */ |
|
|
|
|
#if 0 |
|
|
|
|
/* kerning available? */ |
|
|
|
|
if ( face->kern_pairs ) |
|
|
|
|
flags |= FT_FACE_FLAG_KERNING; |
|
|
|
|
flags |= (FT_UInt32)FT_FACE_FLAG_KERNING; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
cffface->face_flags = flags; |
|
|
|
|