Searched defs:glyph_id (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
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 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.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 Dindex_sub_table_format1.cc42 int32_t IndexSubTableFormat1::GlyphStartOffset(int32_t glyph_id) { argument
43 int32_t loca = CheckGlyphRange(glyph_id);
50 int32_t IndexSubTableFormat1::GlyphLength(int32_t glyph_id) { argument
51 int32_t loca = CheckGlyphRange(glyph_id);
80 int32_t IndexSubTableFormat1::Builder::GlyphLength(int32_t glyph_id) { argument
81 int32_t loca = CheckGlyphRange(glyph_id);
89 int32_t IndexSubTableFormat1::Builder::GlyphStartOffset(int32_t glyph_id) { argument
90 int32_t loca = CheckGlyphRange(glyph_id);
H A Dindex_sub_table_format2.cc45 int32_t IndexSubTableFormat2::GlyphStartOffset(int32_t glyph_id) { argument
46 int32_t loca = CheckGlyphRange(glyph_id);
53 int32_t IndexSubTableFormat2::GlyphLength(int32_t glyph_id) { argument
54 if (CheckGlyphRange(glyph_id) == -1) {
78 int32_t IndexSubTableFormat2::Builder::GlyphStartOffset(int32_t glyph_id) { argument
79 int32_t loca = CheckGlyphRange(glyph_id);
86 int32_t IndexSubTableFormat2::Builder::GlyphLength(int32_t glyph_id) { argument
87 int32_t loca = CheckGlyphRange(glyph_id);
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...]
H A Dindex_sub_table_format5.cc34 int32_t IndexSubTableFormat5::GlyphStartOffset(int32_t glyph_id) { argument
35 int32_t check = CheckGlyphRange(glyph_id);
43 glyph_id);
50 int32_t IndexSubTableFormat5::GlyphLength(int32_t glyph_id) { argument
51 int32_t check = CheckGlyphRange(glyph_id);
97 int32_t IndexSubTableFormat5::Builder::GlyphLength(int32_t glyph_id) { argument
98 UNREFERENCED_PARAMETER(glyph_id);
102 int32_t IndexSubTableFormat5::Builder::GlyphStartOffset(int32_t glyph_id) { argument
103 int32_t check = CheckGlyphRange(glyph_id);
110 glyph_id);
[all...]
/external/sfntly/cpp/src/sfntly/table/bitmap/
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 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.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...]
/external/chromium_org/third_party/sfntly/cpp/src/test/autogenerated/
H A Dcmap_basic_test.cc113 int32_t glyph_id = GetAttribute(*jt, "gid")->IntValue(); local
114 ASSERT_EQ(cmap->GlyphId(character), glyph_id);
/external/sfntly/cpp/src/test/autogenerated/
H A Dcmap_basic_test.cc113 int32_t glyph_id = GetAttribute(*jt, "gid")->IntValue(); local
114 ASSERT_EQ(cmap->GlyphId(character), glyph_id);
/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/ots/src/
H A Dcmap.h27 uint16_t glyph_id; member in struct:ots::OpenTypeCMAPSubtableVSMapping
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dfont_assembler.cc104 int32_t glyph_id = it->second.glyph_id(); local
118 glyph_id_array->push_back(glyph_id);
184 int32_t resolved_glyph_id = it->glyph_id();
211 // If there are missing glyphs between the last glyph_id and the
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...]
H A Dfont_info.h40 GlyphId(int32_t glyph_id, FontId font_id);
46 int32_t glyph_id() const { return glyph_id_; } function in class:subtly::GlyphId
47 void set_glyph_id(const int32_t glyph_id) { glyph_id_ = glyph_id; } argument
/external/sfntly/cpp/src/sample/subtly/
H A Dfont_assembler.cc104 int32_t glyph_id = it->second.glyph_id(); local
118 glyph_id_array->push_back(glyph_id);
184 int32_t resolved_glyph_id = it->glyph_id();
211 // If there are missing glyphs between the last glyph_id and the
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...]
H A Dfont_info.h40 GlyphId(int32_t glyph_id, FontId font_id);
46 int32_t glyph_id() const { return glyph_id_; } function in class:subtly::GlyphId
47 void set_glyph_id(const int32_t glyph_id) { glyph_id_ = glyph_id; } argument
/external/chromium_org/third_party/brotli/src/woff2/
H A Dtransform.cc84 bool Encode(int glyph_id, const Glyph& glyph) { argument
86 WriteCompositeGlyph(glyph_id, glyph);
88 WriteSimpleGlyph(glyph_id, glyph);
123 void WriteSimpleGlyph(int glyph_id, const Glyph& glyph) { argument
127 WriteBbox(glyph_id, glyph);
152 void WriteCompositeGlyph(int glyph_id, const Glyph& glyph) { argument
155 WriteBbox(glyph_id, glyph);
165 void WriteBbox(int glyph_id, const Glyph& glyph) { argument
166 bbox_bitmap_[glyph_id >> 3] |= 0x80 >> (glyph_id
[all...]
/external/chromium_org/third_party/ots/test/
H A Dlayout_common_table_test.cc156 for (uint16_t glyph_id = 1; glyph_id <= glyph_count; ++glyph_id) {
157 if (!out->WriteU16(glyph_id)) {
168 uint16_t glyph_id = 1; local
172 if (!out->WriteU16(glyph_id) ||
173 !out->WriteU16(glyph_id + 1) ||
177 glyph_id += 2;
201 uint16_t glyph_id = 1; local
204 if (!out->WriteU16(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...]

Completed in 228 milliseconds

123