Home | History | Annotate | Download | only in cff

Lines Matching refs:sids

802       if ( charset->sids[i] > max_cid )
803 max_cid = charset->sids[i];
813 charset->cids[charset->sids[j]] = (FT_UShort)j;
855 FT_FREE( charset->sids );
888 /* Allocate memory for sids. */
889 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
893 charset->sids[0] = 0;
904 charset->sids[j] = FT_GET_USHORT();
937 /* try to rescue some of the SIDs if `nleft' is too large */
945 /* Fill in the range of sids -- `nleft + 1' glyphs. */
947 charset->sids[j] = glyph_sid;
981 /* Allocate memory for sids. */
982 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
986 FT_ARRAY_COPY( charset->sids, cff_isoadobe_charset, num_glyphs );
999 /* Allocate memory for sids. */
1000 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
1004 FT_ARRAY_COPY( charset->sids, cff_expert_charset, num_glyphs );
1017 /* Allocate memory for sids. */
1018 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
1022 FT_ARRAY_COPY( charset->sids, cff_expertsubset_charset, num_glyphs );
1032 /* we have to invert the `sids' array for subsetted CID-keyed fonts */
1040 FT_FREE( charset->sids );
1044 charset->sids = 0;
1075 /* Check for charset->sids. If we do not have this, we fail. */
1076 if ( !charset->sids )
1085 encoding->sids [j] = 0;
1097 /* encoding->sids[glyph_code] = charset->sids[j + 1] */
1140 encoding->sids[glyph_code] = charset->sids[j];
1168 sids. */
1175 /* Fill in the range of codes/sids. */
1185 encoding->sids[glyph_code] = charset->sids[k];
1223 encoding->sids[glyph_code] = glyph_sid;
1229 if ( charset->sids[gindex] == glyph_sid )
1249 FT_ARRAY_COPY( encoding->sids, cff_standard_encoding, 256 );
1254 FT_ARRAY_COPY( encoding->sids, cff_expert_encoding, 256 );
1269 FT_UInt sid = encoding->sids[j];
1284 encoding->sids [j] = 0;