Searched refs:head_table (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/brotli/src/woff2/ |
D | normalize.cc | 67 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()
|
D | font.cc | 128 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()
|
D | transform.cc | 247 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()
|
D | woff2_enc.cc | 178 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()
|
D | woff2_dec.cc | 640 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/ |
D | hb-face.cc | 432 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/ |
D | hb-face.cc | 432 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/ |
D | woff2.cc | 750 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()
|