Home | History | Annotate | Download | only in cff

Lines Matching refs:sids

794       if ( charset->sids[i] > max_cid )
795 max_cid = charset->sids[i];
805 charset->cids[charset->sids[j]] = (FT_UShort)j;
847 FT_FREE( charset->sids );
880 /* Allocate memory for sids. */
881 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
885 charset->sids[0] = 0;
896 charset->sids[j] = FT_GET_USHORT();
929 /* try to rescue some of the SIDs if `nleft' is too large */
937 /* Fill in the range of sids -- `nleft + 1' glyphs. */
939 charset->sids[j] = glyph_sid;
973 /* Allocate memory for sids. */
974 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
978 FT_ARRAY_COPY( charset->sids, cff_isoadobe_charset, num_glyphs );
991 /* Allocate memory for sids. */
992 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
996 FT_ARRAY_COPY( charset->sids, cff_expert_charset, num_glyphs );
1009 /* Allocate memory for sids. */
1010 if ( FT_NEW_ARRAY( charset->sids, num_glyphs ) )
1014 FT_ARRAY_COPY( charset->sids, cff_expertsubset_charset, num_glyphs );
1024 /* we have to invert the `sids' array for subsetted CID-keyed fonts */
1032 FT_FREE( charset->sids );
1036 charset->sids = 0;
1067 /* Check for charset->sids. If we do not have this, we fail. */
1068 if ( !charset->sids )
1077 encoding->sids [j] = 0;
1089 /* encoding->sids[glyph_code] = charset->sids[j + 1] */
1132 encoding->sids[glyph_code] = charset->sids[j];
1160 /* Increment nleft, so we read `nleft + 1' codes/sids. */
1167 /* Fill in the range of codes/sids. */
1177 encoding->sids[glyph_code] = charset->sids[k];
1215 encoding->sids[glyph_code] = glyph_sid;
1221 if ( charset->sids[gindex] == glyph_sid )
1241 FT_ARRAY_COPY( encoding->sids, cff_standard_encoding, 256 );
1246 FT_ARRAY_COPY( encoding->sids, cff_expert_encoding, 256 );
1261 FT_UInt sid = encoding->sids[j];
1276 encoding->sids [j] = 0;