Searched refs:max_cid (Results 1 – 5 of 5) sorted by relevance
834 FT_UShort max_cid = 0; in cff_charset_compute_cids() local837 if ( charset->max_cid > 0 ) in cff_charset_compute_cids()842 if ( charset->sids[i] > max_cid ) in cff_charset_compute_cids()843 max_cid = charset->sids[i]; in cff_charset_compute_cids()846 if ( FT_NEW_ARRAY( charset->cids, (FT_ULong)max_cid + 1 ) ) in cff_charset_compute_cids()855 charset->max_cid = max_cid; in cff_charset_compute_cids()870 if ( cid <= charset->max_cid ) in cff_charset_cid_to_gindex()882 charset->max_cid = 0; in cff_charset_free_cids()
852 cffface->num_glyphs = (FT_Long)( cff->charset.max_cid + 1 ); in cff_face_init()
109 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'.