Searched refs:max_cid (Results 1 – 5 of 5) sorted by relevance
840 FT_UShort max_cid = 0; in cff_charset_compute_cids() local843 if ( charset->max_cid > 0 ) in cff_charset_compute_cids()848 if ( charset->sids[i] > max_cid ) in cff_charset_compute_cids()849 max_cid = charset->sids[i]; in cff_charset_compute_cids()852 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) in cff_charset_compute_cids()861 charset->max_cid = max_cid; in cff_charset_compute_cids()876 if ( cid <= charset->max_cid ) in cff_charset_cid_to_gindex()888 charset->max_cid = 0; in cff_charset_free_cids()
862 cffface->num_glyphs = (FT_Long)( cff->charset.max_cid + 1 ); in cff_face_init()
105 FT_UInt max_cid; member
5266 [cff] Correct `max_cid' from CID array length to max CID.5270 max_cid after detecting max CID. The array CFF_Charset->cids is5271 allocated by max_cid + 1.5273 CFF_Charset->max_cid.5275 calculated as CFF_Charset->max_cid + 1.
416 * src/cff/cfftypes.h (CFF_CharsetRec): Add `max_cid' member.418 * src/cff/cffload.c (cff_charset_load): Set `charset->max_cid'.