Home | History | Annotate | Download | only in bitmap

Lines Matching refs:glyph_id

87 int32_t BitmapSizeTable::GlyphOffset(int32_t glyph_id) {
88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
92 return subtable->GlyphOffset(glyph_id);
95 int32_t BitmapSizeTable::GlyphLength(int32_t glyph_id) {
96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
100 return subtable->GlyphLength(glyph_id);
103 CALLER_ATTACH BitmapGlyphInfo* BitmapSizeTable::GlyphInfo(int32_t glyph_id) {
104 IndexSubTable* sub_table = SearchIndexSubTables(glyph_id);
108 return sub_table->GlyphInfo(glyph_id);
111 int32_t BitmapSizeTable::GlyphFormat(int32_t glyph_id) {
112 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
131 IndexSubTable* BitmapSizeTable::SearchIndexSubTables(int32_t glyph_id) {
135 return BinarySearchIndexSubTables(glyph_id);
137 return LinearSearchIndexSubTables(glyph_id);
141 IndexSubTable* BitmapSizeTable::LinearSearchIndexSubTables(int32_t glyph_id) {
145 if ((*b)->first_glyph_index() <= glyph_id &&
146 (*b)->last_glyph_index() >= glyph_id) {
153 IndexSubTable* BitmapSizeTable::BinarySearchIndexSubTables(int32_t glyph_id) {
161 if (glyph_id < subtable->first_glyph_index()) {
165 if (glyph_id <= subtable->last_glyph_index()) {
330 int32_t glyph_id) {
331 IndexSubTable::Builder* sub_table = SearchIndexSubTables(glyph_id);
335 return sub_table->GlyphInfo(glyph_id);
338 int32_t BitmapSizeTable::Builder::GlyphOffset(int32_t glyph_id) {
339 IndexSubTable::Builder* subtable = SearchIndexSubTables(glyph_id);
343 return subtable->GlyphOffset(glyph_id);
346 int32_t BitmapSizeTable::Builder::GlyphLength(int32_t glyph_id) {
347 IndexSubTable::Builder* subtable = SearchIndexSubTables(glyph_id);
351 return subtable->GlyphLength(glyph_id);
354 int32_t BitmapSizeTable::Builder::GlyphFormat(int32_t glyph_id) {
355 IndexSubTable::Builder* subtable = SearchIndexSubTables(glyph_id);
380 (*output)[info->glyph_id()] = info;
405 int32_t glyph_id) {
409 return BinarySearchIndexSubTables(glyph_id);
411 return LinearSearchIndexSubTables(glyph_id);
416 int32_t glyph_id) {
421 if ((*b)->first_glyph_index() <= glyph_id &&
422 (*b)->last_glyph_index() >= glyph_id) {
430 int32_t glyph_id) {
438 if (glyph_id < subtable->first_glyph_index()) {
442 if (glyph_id <= subtable->last_glyph_index()) {