Lines Matching refs:sids
808 if ( charset->sids[i] > max_cid )
809 max_cid = charset->sids[i];
819 charset->cids[charset->sids[j]] = (FT_UShort)j;
861 FT_FREE( charset->sids );
894 /* Allocate memory for sids. */
895 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
899 charset->sids[0] = 0;
910 charset->sids[j] = FT_GET_USHORT();
943 /* try to rescue some of the SIDs if `nleft' is too large */
951 /* Fill in the range of sids -- `nleft + 1' glyphs. */
953 charset->sids[j] = glyph_sid;
987 /* Allocate memory for sids. */
988 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
992 FT_ARRAY_COPY( charset->sids, cff_isoadobe_charset, num_glyphs );
1005 /* Allocate memory for sids. */
1006 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
1010 FT_ARRAY_COPY( charset->sids, cff_expert_charset, num_glyphs );
1023 /* Allocate memory for sids. */
1024 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
1028 FT_ARRAY_COPY( charset->sids, cff_expertsubset_charset, num_glyphs );
1038 /* we have to invert the `sids' array for subsetted CID-keyed fonts */
1046 FT_FREE( charset->sids );
1050 charset->sids = 0;
1081 /* Check for charset->sids. If we do not have this, we fail. */
1082 if ( !charset->sids )
1091 encoding->sids [j] = 0;
1103 /* encoding->sids[glyph_code] = charset->sids[j + 1] */
1146 encoding->sids[glyph_code] = charset->sids[j];
1174 /* Increment nleft, so we read `nleft + 1' codes/sids. */
1181 /* Fill in the range of codes/sids. */
1191 encoding->sids[glyph_code] = charset->sids[k];
1229 encoding->sids[glyph_code] = glyph_sid;
1235 if ( charset->sids[gindex] == glyph_sid )
1255 FT_ARRAY_COPY( encoding->sids, cff_standard_encoding, 256 );
1260 FT_ARRAY_COPY( encoding->sids, cff_expert_encoding, 256 );
1275 FT_UInt sid = encoding->sids[j];
1290 encoding->sids [j] = 0;