Searched refs:glyph_id (Results 1 - 25 of 75) sorted by relevance

123

/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table.cc30 CALLER_ATTACH BitmapGlyphInfo* IndexSubTable::GlyphInfo(int32_t glyph_id) { argument
31 int32_t loca = CheckGlyphRange(glyph_id);
35 if (GlyphStartOffset(glyph_id) == -1) {
38 BitmapGlyphInfoPtr output = new BitmapGlyphInfo(glyph_id,
40 GlyphStartOffset(glyph_id),
41 GlyphLength(glyph_id),
46 int32_t IndexSubTable::GlyphOffset(int32_t glyph_id) { argument
47 int32_t glyph_start_offset = GlyphStartOffset(glyph_id);
79 int32_t IndexSubTable::CheckGlyphRange(int32_t glyph_id) { argument
80 return CheckGlyphRange(glyph_id, first_glyph_inde
84 CheckGlyphRange(int32_t glyph_id, int32_t first_glyph_id, int32_t last_glyph_id) argument
107 GlyphInfo( int32_t glyph_id) argument
118 GlyphOffset(int32_t glyph_id) argument
251 CheckGlyphRange(int32_t glyph_id) argument
[all...]
H A Dbitmap_size_table.h100 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
101 int32_t GlyphOffset(int32_t glyph_id);
102 int32_t GlyphLength(int32_t glyph_id);
103 int32_t GlyphFormat(int32_t glyph_id);
117 IndexSubTable::Builder* SearchIndexSubTables(int32_t glyph_id);
118 IndexSubTable::Builder* LinearSearchIndexSubTables(int32_t glyph_id);
119 IndexSubTable::Builder* BinarySearchIndexSubTables(int32_t glyph_id);
145 int32_t GlyphOffset(int32_t glyph_id);
146 int32_t GlyphLength(int32_t glyph_id);
147 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
[all...]
H A Dbitmap_glyph_info.cc21 BitmapGlyphInfo::BitmapGlyphInfo(int32_t glyph_id, argument
26 : glyph_id_(glyph_id),
34 BitmapGlyphInfo::BitmapGlyphInfo(int32_t glyph_id, argument
38 : glyph_id_(glyph_id),
58 glyph_id_ == rhs->glyph_id() &&
H A Dindex_sub_table.h61 CALLER_ATTACH virtual BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
66 virtual int32_t GlyphOffset(int32_t glyph_id);
72 virtual int32_t GlyphStartOffset(int32_t glyph_id) = 0;
77 virtual int32_t GlyphLength(int32_t glyph_id) = 0;
118 int32_t CheckGlyphRange(int32_t glyph_id);
137 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
138 virtual int32_t GlyphOffset(int32_t glyph_id);
139 virtual int32_t GlyphStartOffset(int32_t glyph_id) = 0;
140 virtual int32_t GlyphLength(int32_t glyph_id) = 0;
157 int32_t CheckGlyphRange(int32_t glyph_id);
[all...]
H A Dbitmap_size_table.cc87 int32_t BitmapSizeTable::GlyphOffset(int32_t glyph_id) { argument
88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
92 return subtable->GlyphOffset(glyph_id);
95 int32_t BitmapSizeTable::GlyphLength(int32_t glyph_id) { argument
96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
100 return subtable->GlyphLength(glyph_id);
103 CALLER_ATTACH BitmapGlyphInfo* BitmapSizeTable::GlyphInfo(int32_t glyph_id) { argument
104 IndexSubTable* sub_table = SearchIndexSubTables(glyph_id);
108 return sub_table->GlyphInfo(glyph_id);
111 int32_t BitmapSizeTable::GlyphFormat(int32_t glyph_id) { argument
131 SearchIndexSubTables(int32_t glyph_id) argument
141 LinearSearchIndexSubTables(int32_t glyph_id) argument
153 BinarySearchIndexSubTables(int32_t glyph_id) argument
329 GlyphInfo( int32_t glyph_id) argument
338 GlyphOffset(int32_t glyph_id) argument
346 GlyphLength(int32_t glyph_id) argument
354 GlyphFormat(int32_t glyph_id) argument
404 SearchIndexSubTables( int32_t glyph_id) argument
415 LinearSearchIndexSubTables( int32_t glyph_id) argument
429 BinarySearchIndexSubTables( int32_t glyph_id) argument
[all...]
H A Dbitmap_glyph_info.h37 BitmapGlyphInfo(int32_t glyph_id,
49 BitmapGlyphInfo(int32_t glyph_id,
54 int32_t glyph_id() const { return glyph_id_; } function in class:sfntly::BitmapGlyphInfo
H A Dindex_sub_table_format3.cc32 int32_t IndexSubTableFormat3::GlyphStartOffset(int32_t glyph_id) { argument
33 int32_t loca = CheckGlyphRange(glyph_id);
40 int32_t IndexSubTableFormat3::GlyphLength(int32_t glyph_id) { argument
41 int32_t loca = CheckGlyphRange(glyph_id);
43 return Loca(glyph_id + 1) - Loca(glyph_id);
81 int32_t IndexSubTableFormat3::Builder::GlyphStartOffset(int32_t glyph_id) { argument
82 int32_t loca = CheckGlyphRange(glyph_id);
89 int32_t IndexSubTableFormat3::Builder::GlyphLength(int32_t glyph_id) { argument
90 int32_t loca = CheckGlyphRange(glyph_id);
[all...]
H A Dindex_sub_table_format4.cc32 int32_t IndexSubTableFormat4::GlyphStartOffset(int32_t glyph_id) { argument
33 int32_t loca = CheckGlyphRange(glyph_id);
37 int32_t pair_index = FindCodeOffsetPair(glyph_id);
47 int32_t IndexSubTableFormat4::GlyphLength(int32_t glyph_id) { argument
48 int32_t loca = CheckGlyphRange(glyph_id);
53 int32_t pair_index = FindCodeOffsetPair(glyph_id);
73 int32_t IndexSubTableFormat4::FindCodeOffsetPair(int32_t glyph_id) { argument
77 glyph_id);
119 int32_t IndexSubTableFormat4::Builder::GlyphLength(int32_t glyph_id) { argument
120 int32_t loca = CheckGlyphRange(glyph_id);
132 GlyphStartOffset(int32_t glyph_id) argument
309 FindCodeOffsetPair(int32_t glyph_id) argument
[all...]
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table.cc30 CALLER_ATTACH BitmapGlyphInfo* IndexSubTable::GlyphInfo(int32_t glyph_id) { argument
31 int32_t loca = CheckGlyphRange(glyph_id);
35 if (GlyphStartOffset(glyph_id) == -1) {
38 BitmapGlyphInfoPtr output = new BitmapGlyphInfo(glyph_id,
40 GlyphStartOffset(glyph_id),
41 GlyphLength(glyph_id),
46 int32_t IndexSubTable::GlyphOffset(int32_t glyph_id) { argument
47 int32_t glyph_start_offset = GlyphStartOffset(glyph_id);
79 int32_t IndexSubTable::CheckGlyphRange(int32_t glyph_id) { argument
80 return CheckGlyphRange(glyph_id, first_glyph_inde
84 CheckGlyphRange(int32_t glyph_id, int32_t first_glyph_id, int32_t last_glyph_id) argument
107 GlyphInfo( int32_t glyph_id) argument
118 GlyphOffset(int32_t glyph_id) argument
251 CheckGlyphRange(int32_t glyph_id) argument
[all...]
H A Dbitmap_size_table.h100 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
101 int32_t GlyphOffset(int32_t glyph_id);
102 int32_t GlyphLength(int32_t glyph_id);
103 int32_t GlyphFormat(int32_t glyph_id);
117 IndexSubTable::Builder* SearchIndexSubTables(int32_t glyph_id);
118 IndexSubTable::Builder* LinearSearchIndexSubTables(int32_t glyph_id);
119 IndexSubTable::Builder* BinarySearchIndexSubTables(int32_t glyph_id);
145 int32_t GlyphOffset(int32_t glyph_id);
146 int32_t GlyphLength(int32_t glyph_id);
147 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
[all...]
H A Dbitmap_glyph_info.cc21 BitmapGlyphInfo::BitmapGlyphInfo(int32_t glyph_id, argument
26 : glyph_id_(glyph_id),
34 BitmapGlyphInfo::BitmapGlyphInfo(int32_t glyph_id, argument
38 : glyph_id_(glyph_id),
58 glyph_id_ == rhs->glyph_id() &&
H A Dindex_sub_table.h61 CALLER_ATTACH virtual BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
66 virtual int32_t GlyphOffset(int32_t glyph_id);
72 virtual int32_t GlyphStartOffset(int32_t glyph_id) = 0;
77 virtual int32_t GlyphLength(int32_t glyph_id) = 0;
118 int32_t CheckGlyphRange(int32_t glyph_id);
137 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
138 virtual int32_t GlyphOffset(int32_t glyph_id);
139 virtual int32_t GlyphStartOffset(int32_t glyph_id) = 0;
140 virtual int32_t GlyphLength(int32_t glyph_id) = 0;
157 int32_t CheckGlyphRange(int32_t glyph_id);
[all...]
H A Dbitmap_size_table.cc87 int32_t BitmapSizeTable::GlyphOffset(int32_t glyph_id) { argument
88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
92 return subtable->GlyphOffset(glyph_id);
95 int32_t BitmapSizeTable::GlyphLength(int32_t glyph_id) { argument
96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
100 return subtable->GlyphLength(glyph_id);
103 CALLER_ATTACH BitmapGlyphInfo* BitmapSizeTable::GlyphInfo(int32_t glyph_id) { argument
104 IndexSubTable* sub_table = SearchIndexSubTables(glyph_id);
108 return sub_table->GlyphInfo(glyph_id);
111 int32_t BitmapSizeTable::GlyphFormat(int32_t glyph_id) { argument
131 SearchIndexSubTables(int32_t glyph_id) argument
141 LinearSearchIndexSubTables(int32_t glyph_id) argument
153 BinarySearchIndexSubTables(int32_t glyph_id) argument
329 GlyphInfo( int32_t glyph_id) argument
338 GlyphOffset(int32_t glyph_id) argument
346 GlyphLength(int32_t glyph_id) argument
354 GlyphFormat(int32_t glyph_id) argument
404 SearchIndexSubTables( int32_t glyph_id) argument
415 LinearSearchIndexSubTables( int32_t glyph_id) argument
429 BinarySearchIndexSubTables( int32_t glyph_id) argument
[all...]
H A Dbitmap_glyph_info.h37 BitmapGlyphInfo(int32_t glyph_id,
49 BitmapGlyphInfo(int32_t glyph_id,
54 int32_t glyph_id() const { return glyph_id_; } function in class:sfntly::BitmapGlyphInfo
H A Dindex_sub_table_format3.cc32 int32_t IndexSubTableFormat3::GlyphStartOffset(int32_t glyph_id) { argument
33 int32_t loca = CheckGlyphRange(glyph_id);
40 int32_t IndexSubTableFormat3::GlyphLength(int32_t glyph_id) { argument
41 int32_t loca = CheckGlyphRange(glyph_id);
43 return Loca(glyph_id + 1) - Loca(glyph_id);
81 int32_t IndexSubTableFormat3::Builder::GlyphStartOffset(int32_t glyph_id) { argument
82 int32_t loca = CheckGlyphRange(glyph_id);
89 int32_t IndexSubTableFormat3::Builder::GlyphLength(int32_t glyph_id) { argument
90 int32_t loca = CheckGlyphRange(glyph_id);
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/
H A Dloca_table.cc26 int32_t LocaTable::GlyphOffset(int32_t glyph_id) { argument
27 if (glyph_id < 0 || glyph_id >= num_glyphs_) {
33 return Loca(glyph_id);
36 int32_t LocaTable::GlyphLength(int32_t glyph_id) { argument
37 if (glyph_id < 0 || glyph_id >= num_glyphs_) {
43 return Loca(glyph_id + 1) - Loca(glyph_id);
124 int32_t LocaTable::Builder::GlyphOffset(int32_t glyph_id) { argument
131 GlyphLength(int32_t glyph_id) argument
217 CheckGlyphRange(int32_t glyph_id) argument
[all...]
H A Dloca_table.h77 int32_t GlyphOffset(int32_t glyph_id);
80 int32_t GlyphLength(int32_t glyph_id);
124 // @return glyph_id if correct, -1 otherwise.
125 int32_t CheckGlyphRange(int32_t glyph_id);
153 int32_t GlyphOffset(int32_t glyph_id);
156 int32_t GlyphLength(int32_t glyph_id);
/external/sfntly/cpp/src/sfntly/table/truetype/
H A Dloca_table.cc26 int32_t LocaTable::GlyphOffset(int32_t glyph_id) { argument
27 if (glyph_id < 0 || glyph_id >= num_glyphs_) {
33 return Loca(glyph_id);
36 int32_t LocaTable::GlyphLength(int32_t glyph_id) { argument
37 if (glyph_id < 0 || glyph_id >= num_glyphs_) {
43 return Loca(glyph_id + 1) - Loca(glyph_id);
124 int32_t LocaTable::Builder::GlyphOffset(int32_t glyph_id) { argument
131 GlyphLength(int32_t glyph_id) argument
217 CheckGlyphRange(int32_t glyph_id) argument
[all...]
H A Dloca_table.h77 int32_t GlyphOffset(int32_t glyph_id);
80 int32_t GlyphLength(int32_t glyph_id);
124 // @return glyph_id if correct, -1 otherwise.
125 int32_t CheckGlyphRange(int32_t glyph_id);
153 int32_t GlyphOffset(int32_t glyph_id);
156 int32_t GlyphLength(int32_t glyph_id);
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-layout-gdef-table.hh49 inline unsigned int get_attach_points (hb_codepoint_t glyph_id, argument
54 unsigned int index = (this+coverage).get_coverage (glyph_id);
99 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id HB_UNUSED) const
121 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id) const
124 if (font->get_glyph_contour_point_for_origin (glyph_id, caretValuePoint, direction, &x, &y))
146 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id HB_UNUSED) const
171 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id) const
174 case 1: return u.format1.get_caret_value (font, direction, glyph_id);
175 case 2: return u.format2.get_caret_value (font, direction, glyph_id);
176 case 3: return u.format3.get_caret_value (font, direction, glyph_id);
205 get_lig_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *caret_count , hb_position_t *caret_array ) const argument
238 get_lig_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *caret_count , hb_position_t *caret_array ) const argument
348 get_attach_points(hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *point_count , unsigned int *point_array ) const argument
355 get_lig_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *caret_count , hb_position_t *caret_array ) const argument
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ot-layout-gdef-table.hh49 inline unsigned int get_attach_points (hb_codepoint_t glyph_id, argument
54 unsigned int index = (this+coverage).get_coverage (glyph_id);
99 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id HB_UNUSED) const
121 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id) const
124 if (font->get_glyph_contour_point_for_origin (glyph_id, caretValuePoint, direction, &x, &y))
146 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id HB_UNUSED) const
171 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id) const
174 case 1: return u.format1.get_caret_value (font, direction, glyph_id);
175 case 2: return u.format2.get_caret_value (font, direction, glyph_id);
176 case 3: return u.format3.get_caret_value (font, direction, glyph_id);
205 get_lig_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *caret_count , hb_position_t *caret_array ) const argument
238 get_lig_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *caret_count , hb_position_t *caret_array ) const argument
348 get_attach_points(hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *point_count , unsigned int *point_array ) const argument
355 get_lig_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id, unsigned int start_offset, unsigned int *caret_count , hb_position_t *caret_array ) const argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dhorizontal_metrics_table.cc70 int32_t HorizontalMetricsTable::AdvanceWidth(int32_t glyph_id) { argument
71 if (glyph_id < num_hmetrics_) {
72 return HMetricAdvanceWidth(glyph_id);
74 return HMetricAdvanceWidth(glyph_id - num_hmetrics_);
77 int32_t HorizontalMetricsTable::LeftSideBearing(int32_t glyph_id) { argument
78 if (glyph_id < num_hmetrics_) {
79 return HMetricLSB(glyph_id);
81 return LsbTableEntry(glyph_id - num_hmetrics_);
/external/sfntly/cpp/src/sfntly/table/core/
H A Dhorizontal_metrics_table.cc70 int32_t HorizontalMetricsTable::AdvanceWidth(int32_t glyph_id) { argument
71 if (glyph_id < num_hmetrics_) {
72 return HMetricAdvanceWidth(glyph_id);
74 return HMetricAdvanceWidth(glyph_id - num_hmetrics_);
77 int32_t HorizontalMetricsTable::LeftSideBearing(int32_t glyph_id) { argument
78 if (glyph_id < num_hmetrics_) {
79 return HMetricLSB(glyph_id);
81 return LsbTableEntry(glyph_id - num_hmetrics_);
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dfont_info.cc41 GlyphId::GlyphId(int32_t glyph_id, FontId font_id) argument
42 : glyph_id_(glyph_id),
47 return glyph_id_ == other.glyph_id();
51 return glyph_id_ < other.glyph_id();
207 unresolved_glyph_ids->insert(it->second.glyph_id());
212 int32_t glyph_id = *(unresolved_glyph_ids->begin()); local
214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) {
216 fprintf(stderr, "%d larger than %d or smaller than 0\n", glyph_id,
221 int32_t length = loca_table_->GlyphLength(glyph_id);
245 int32_t glyph_id = composite_glyph->GlyphIndex(i); local
[all...]
/external/sfntly/cpp/src/sample/subtly/
H A Dfont_info.cc41 GlyphId::GlyphId(int32_t glyph_id, FontId font_id) argument
42 : glyph_id_(glyph_id),
47 return glyph_id_ == other.glyph_id();
51 return glyph_id_ < other.glyph_id();
207 unresolved_glyph_ids->insert(it->second.glyph_id());
212 int32_t glyph_id = *(unresolved_glyph_ids->begin()); local
214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) {
216 fprintf(stderr, "%d larger than %d or smaller than 0\n", glyph_id,
221 int32_t length = loca_table_->GlyphLength(glyph_id);
245 int32_t glyph_id = composite_glyph->GlyphIndex(i); local
[all...]

Completed in 1097 milliseconds

123