Home
last modified time | relevance | path

Searched refs:head_table (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/brotli/src/woff2/
Dnormalize.cc67 Font::Table* head_table = font->FindTable(kHeadTableTag); in NormalizeGlyphs() local
70 if (head_table == NULL || loca_table == NULL || glyf_table == NULL) { in NormalizeGlyphs()
73 int index_fmt = head_table->data[51]; in NormalizeGlyphs()
167 Font::Table* head_table = font->FindTable(kHeadTableTag); in FixChecksums() local
168 if (head_table == NULL || head_table->length < 12) { in FixChecksums()
171 head_table->buffer.resize(Round4(head_table->length)); in FixChecksums()
172 uint8_t* head_buf = &head_table->buffer[0]; in FixChecksums()
173 memcpy(head_buf, head_table->data, Round4(head_table->length)); in FixChecksums()
174 head_table->data = head_buf; in FixChecksums()
Dfont.cc128 const Font::Table* head_table = font.FindTable(kHeadTableTag); in NumGlyphs() local
130 if (head_table == NULL || loca_table == NULL || head_table->length < 52) { in NumGlyphs()
133 int index_fmt = head_table->data[51]; in NumGlyphs()
142 const Font::Table* head_table = font.FindTable(kHeadTableTag); in GetGlyphData() local
145 if (head_table == NULL || loca_table == NULL || glyf_table == NULL || in GetGlyphData()
146 head_table->length < 52) { in GetGlyphData()
149 int index_fmt = head_table->data[51]; in GetGlyphData()
Dtransform.cc247 const Font::Table* head_table = font->FindTable(kHeadTableTag); in TransformGlyfAndLocaTables() local
248 if (head_table == NULL || head_table->length < 52) { in TransformGlyfAndLocaTables()
251 transformed_glyf->buffer[7] = head_table->data[51]; // index_format in TransformGlyfAndLocaTables()
Dwoff2_enc.cc178 const Font::Table* head_table = font.FindTable(kHeadTableTag); in ConvertTTFToWOFF2() local
179 if (head_table == NULL) { in ConvertTTFToWOFF2()
260 StoreBytes(head_table->data + 4, 4, &offset, result); // font revision in ConvertTTFToWOFF2()
Dwoff2_dec.cc640 const Table* head_table = FindTable(tables, kHeadTableTag); in FixChecksums() local
641 if (head_table == NULL || in FixChecksums()
642 head_table->dst_length < kCheckSumAdjustmentOffset + 4) { in FixChecksums()
645 size_t adjustment_offset = head_table->dst_offset + kCheckSumAdjustmentOffset; in FixChecksums()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-face.cc432 const OT::head *head_table = OT::Sanitizer<OT::head>::lock_instance (head_blob); in load_upem() local
433 upem = head_table->get_upem (); in load_upem()
/external/harfbuzz_ng/src/
Dhb-face.cc432 const OT::head *head_table = OT::Sanitizer<OT::head>::lock_instance (head_blob); in load_upem() local
433 upem = head_table->get_upem (); in load_upem()
/external/chromium_org/third_party/ots/src/
Dwoff2.cc750 const Table* head_table = FindTable(tables, TAG('h', 'e', 'a', 'd')); in FixChecksums() local
751 if (head_table == NULL || in FixChecksums()
752 head_table->dst_length < kCheckSumAdjustmentOffset + 4) { in FixChecksums()
755 size_t adjustment_offset = head_table->dst_offset + kCheckSumAdjustmentOffset; in FixChecksums()
756 if (adjustment_offset < head_table->dst_offset) { in FixChecksums()