Home | History | Annotate | Download | only in sfnt

Lines Matching defs:charcode

139     FT_UInt32  charcode = *pchar_code;
145 while ( ++charcode < 256 )
147 gindex = table[charcode];
150 result = charcode;
212 /***** assume that the value "charcode" correspond to following: *****/
214 /***** - For one byte characters, "charcode" is simply the *****/
217 /***** - For two byte characters, "charcode" is the 2-byte *****/
220 /***** (charcode >> 8) is the first byte value *****/
221 /***** (charcode & 0xFF) is the second byte value *****/
223 /***** Note that not all values of "charcode" are valid according *****/
244 /* The `keys' table is used to map charcode high-bytes to sub-headers. */
274 /* no glyph for the charcode. Otherwise, the value of `delta' is */
392 /* NULL on invalid charcode */
489 FT_UInt32 charcode = *pcharcode + 1;
493 while ( charcode < 0x10000UL )
495 subheader = tt_cmap2_get_subheader( table, charcode );
503 FT_UInt char_lo = (FT_UInt)( charcode & 0xFF );
519 charcode = FT_PAD_FLOOR( charcode, 256 ) + char_lo;
521 for ( ; pos < count; pos++, charcode++ )
530 result = charcode;
539 charcode = FT_PAD_FLOOR( charcode, 256 ) + 256;
611 /* endCount 14 USHORT[NUM_SEGS] end charcode for */
617 /* startCount 16+NUM_SEGS*2 USHORT[NUM_SEGS] first charcode for */
643 /* charcode within the segment is obtained by adding the value of */
644 /* `idDelta' directly to the charcode, modulo 65536. */
661 FT_UInt32 cur_charcode; /* current charcode */
750 /* search the index of the charcode next to cmap->cur_charcode; */
757 FT_UInt charcode;
763 charcode = (FT_UInt)cmap->cur_charcode + 1;
765 if ( charcode < cmap->cur_start )
766 charcode = cmap->cur_start;
775 if ( charcode <= end )
779 FT_Byte* p = values + 2 * ( charcode - cmap->cur_start );
792 cmap->cur_charcode = charcode;
797 } while ( ++charcode <= end );
803 FT_UInt gindex = (FT_UInt)( ( charcode + delta ) & 0xFFFFU );
808 cmap->cur_charcode = charcode;
812 } while ( ++charcode <= end );
820 if ( charcode < cmap->cur_start )
821 charcode = cmap->cur_start;
1032 FT_UInt32 charcode = *pcharcode;
1046 charcode++;
1049 for ( ; charcode <= 0xFFFFU; charcode++ )
1062 if ( charcode >= start && charcode <= end )
1090 p += offset + ( charcode - start ) * 2;
1096 gindex = (FT_UInt)( charcode + delta ) & 0xFFFFU;
1107 *pcharcode = charcode;
1121 FT_UInt charcode = (FT_UInt)*pcharcode;
1139 charcode++;
1153 if ( charcode < start )
1155 else if ( charcode > end )
1180 /* search the first segment containing `charcode' */
1203 if ( charcode > prev_end )
1249 if ( charcode < next_start )
1294 p += offset + ( charcode - start ) * 2;
1300 gindex = (FT_UInt)( charcode + delta ) & 0xFFFFU;
1311 /* if `charcode' is not in any segment, then `mid' is */
1312 /* the segment nearest to `charcode' */
1315 if ( charcode > end )
1325 *pcharcode = charcode;
1329 cmap4->cur_charcode = charcode;
1335 cmap4->cur_charcode = charcode;
1644 /* start 0 ULONG first charcode */
1645 /* end 4 ULONG last charcode */
2037 /* start 0 ULONG first charcode */
2038 /* end 4 ULONG last charcode */
2131 /* search the index of the charcode next to cmap->cur_charcode */
2366 /* start 0 ULONG first charcode */
2367 /* end 4 ULONG last charcode */
2455 /* search the index of the charcode next to cmap->cur_charcode */
3044 FT_UInt32 charcode,
3059 tt_cmap14_char_map_def_binary( cmap->data + defOff, charcode ) )
3061 /* This is the default variant of this charcode. GID not stored */
3063 return ucmap->cmap.clazz->char_index( &ucmap->cmap, charcode );
3068 charcode );
3076 FT_UInt32 charcode,
3091 tt_cmap14_char_map_def_binary( cmap->data + defOff, charcode ) )
3096 charcode ) != 0 )
3132 FT_UInt32 charCode )
3152 charCode ) ) ||
3155 charCode ) != 0 ) )