Lines Matching refs:sids

795       if ( charset->sids[i] > max_cid )
796 max_cid = charset->sids[i];
806 charset->cids[charset->sids[j]] = (FT_UShort)j;
848 FT_FREE( charset->sids );
881 /* Allocate memory for sids. */
882 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
886 charset->sids[0] = 0;
897 charset->sids[j] = FT_GET_USHORT();
938 /* Fill in the range of sids -- `nleft + 1' glyphs. */
940 charset->sids[j] = glyph_sid;
974 /* Allocate memory for sids. */
975 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
979 FT_ARRAY_COPY( charset->sids, cff_isoadobe_charset, num_glyphs );
992 /* Allocate memory for sids. */
993 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
997 FT_ARRAY_COPY( charset->sids, cff_expert_charset, num_glyphs );
1010 /* Allocate memory for sids. */
1011 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
1015 FT_ARRAY_COPY( charset->sids, cff_expertsubset_charset, num_glyphs );
1025 /* we have to invert the `sids' array for subsetted CID-keyed fonts */
1033 FT_FREE( charset->sids );
1037 charset->sids = 0;
1068 /* Check for charset->sids. If we do not have this, we fail. */
1069 if ( !charset->sids )
1078 encoding->sids [j] = 0;
1090 /* encoding->sids[glyph_code] = charset->sids[j + 1] */
1133 encoding->sids[glyph_code] = charset->sids[j];
1161 /* Increment nleft, so we read `nleft + 1' codes/sids. */
1168 /* Fill in the range of codes/sids. */
1178 encoding->sids[glyph_code] = charset->sids[k];
1216 encoding->sids[glyph_code] = glyph_sid;
1222 if ( charset->sids[gindex] == glyph_sid )
1242 FT_ARRAY_COPY( encoding->sids, cff_standard_encoding, 256 );
1247 FT_ARRAY_COPY( encoding->sids, cff_expert_encoding, 256 );
1262 FT_UInt sid = encoding->sids[j];
1277 encoding->sids [j] = 0;