Home
last modified time | relevance | path

Searched refs:hhea (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dverify_hhea.cc36 HorizontalHeaderTablePtr hhea = down_cast<HorizontalHeaderTable*>(table); in VerifyHHEA() local
37 if (hhea == NULL) { in VerifyHHEA()
41 EXPECT_EQ(hhea->TableVersion(), Fixed1616::Fixed(1, 0)); in VerifyHHEA()
42 EXPECT_EQ(hhea->Ascender(), HHEA_ASCENDER); in VerifyHHEA()
43 EXPECT_EQ(hhea->Descender(), HHEA_DESCENDER); in VerifyHHEA()
44 EXPECT_EQ(hhea->AdvanceWidthMax(), HHEA_ADVANCE_WIDTH_MAX); in VerifyHHEA()
45 EXPECT_EQ(hhea->MinLeftSideBearing(), HHEA_MIN_LSB); in VerifyHHEA()
46 EXPECT_EQ(hhea->MinRightSideBearing(), HHEA_MIN_RSB); in VerifyHHEA()
47 EXPECT_EQ(hhea->XMaxExtent(), HHEA_X_MAX_EXTENT); in VerifyHHEA()
51 EXPECT_EQ(hhea->MetricDataFormat(), HHEA_METRIC_DATA_FORMAT); in VerifyHHEA()
[all …]
Dtest_data.cc41 Tag::glyf, Tag::head, Tag::hhea, Tag::hmtx, Tag::kern,
48 Tag::glyf, Tag::hdmx, Tag::head, Tag::hhea, Tag::hmtx,
Dserialization_test.cc74 if (TTF_KNOWN_TAGS[i] == Tag::hhea) { in TestSerialization()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-metrics.cc82 GET_METRIC_Y (hhea, ascender); in _hb_ot_metrics_get_position_common()
85 GET_METRIC_Y (hhea, descender); in _hb_ot_metrics_get_position_common()
88 GET_METRIC_Y (hhea, lineGap); in _hb_ot_metrics_get_position_common()
158 case HB_OT_METRICS_TAG_HORIZONTAL_CARET_RISE: return GET_METRIC_Y (hhea, caretSlopeRise); in hb_ot_metrics_get_position()
159 case HB_OT_METRICS_TAG_HORIZONTAL_CARET_RUN: return GET_METRIC_X (hhea, caretSlopeRun); in hb_ot_metrics_get_position()
160 case HB_OT_METRICS_TAG_HORIZONTAL_CARET_OFFSET: return GET_METRIC_X (hhea, caretOffset); in hb_ot_metrics_get_position()
181 case _HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER_HHEA: return GET_METRIC_Y (hhea, ascender); in hb_ot_metrics_get_position()
183 case _HB_OT_METRICS_TAG_HORIZONTAL_DESCENDER_HHEA: return GET_METRIC_Y (hhea, descender); in hb_ot_metrics_get_position()
185 case _HB_OT_METRICS_TAG_HORIZONTAL_LINE_GAP_HHEA: return GET_METRIC_Y (hhea, lineGap); in hb_ot_metrics_get_position()
Dhb-ot-hhea-table.hh93 struct hhea : _hea<hhea> { struct
Dhb-ot-hmtx-table.hh168 …num_advances = T::is_horizontal ? face->table.hhea->numberOfLongMetrics : face->table.vhea->number… in init()
323 struct hmtx : hmtxvmtx<hmtx, hhea> {
Dhb-ot-face-table-list.hh53 HB_OT_TABLE (OT, hhea)
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHheaTests.java34 (HorizontalHeaderTable.Builder) fontBuilder.newTableBuilder(Tag.hhea); in testAdvanceWidthMax()
38 HorizontalHeaderTable hheaTable = font.getTable(Tag.hhea); in testAdvanceWidthMax()
46 (HorizontalHeaderTable.Builder) fontBuilder.newTableBuilder(Tag.hhea); in testNumHMetrics()
50 HorizontalHeaderTable hheaTable = font.getTable(Tag.hhea); in testNumHMetrics()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DRenumberingSubsetter.java46 fontBuilder.newTableBuilder(Tag.hhea, font.getTable(Tag.hhea).readFontData()); in setUpTables()
DHorizontalMetricsTableSubsetter.java35 super(Tag.hmtx, Tag.hhea); in HorizontalMetricsTableSubsetter()
DHorizontalMetricsTableBuilder.java80 (HorizontalHeaderTable.Builder) fontBuilder.getTableBuilder(Tag.hhea); in build()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dtag.cc29 const int32_t Tag::hhea = TAG('h', 'h', 'e', 'a'); member in sfntly::Tag
76 Tag::hhea,
88 Tag::hhea,
Dtag.h35 static const int32_t hhea; member
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java168 HorizontalHeaderTable hhea = (HorizontalHeaderTable) font.getTable(Tag.hhea); in lintAdvanceWidths() local
169 int hheaMax = hhea.advanceWidthMax(); in lintAdvanceWidths()
170 if (maxAdvanceWidth != hhea.advanceWidthMax()) { in lintAdvanceWidths()
/third_party/cups-filters/fontembed/
Dembed_sfnt.c185 char *hhea=otf_get_table(otf,OTF_TAG('h','h','e','a'),&len); in emb_otf_get_pdf_fontdescr() local
186 if (hhea) { in emb_otf_get_pdf_fontdescr()
187 ret->ascent=get_SHORT(hhea+4)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
188 ret->descent=get_SHORT(hhea+6)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
190 free(hhea); in emb_otf_get_pdf_fontdescr()
Dsfnt.c539 char *hhea=otf_get_table(otf,OTF_TAG('h','h','e','a'),&len); in otf_load_more() local
540 if ( (!hhea)|| in otf_load_more()
541 (get_ULONG(hhea)!=0x00010000)|| // version in otf_load_more()
543 (get_SHORT(hhea+32)!=0) ) { // metric format in otf_load_more()
547 otf->numberOfHMetrics=get_USHORT(hhea+34); in otf_load_more()
548 free(hhea); in otf_load_more()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHorizontalMetricsTableBuilderTest.java40 (HorizontalHeaderTable.Builder) fontBuilder.newTableBuilder(Tag.hhea); in testHorizontalMetricsTableBuilder()
DRenumberingSubsetTest.java110 HorizontalHeaderTable hheaTable = dstFont.getTable(Tag.hhea); in testHorizontalHeader()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DTag.java41 public static final int hhea = Tag.intValue(new byte[]{'h', 'h', 'e', 'a'}); field in Tag
DFont.java99 Tag.hhea,
111 Tag.hhea,
901 (HorizontalHeaderTable.Builder) builderMap.get(Tag.hhea); in interRelateBuilders()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dtable.cc92 } else if (tag == Tag::hhea) { in GetBuilder()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
DTable.java192 } else if (tag == Tag.hhea) { in getBuilder()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfobjs.c913 LOADM_( hhea, 0 ); in sfnt_load_face()
967 LOADM_( hhea, 1 ); in sfnt_load_face()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h722 int loca,head,glyf,hhea,hmtx,kern,gpos; // table locations as offset from start of .ttf member
1363 info->hhea = stbtt__find_table(data, fontstart, "hhea"); // required in stbtt_InitFont_internal()
1368 if (!cmap || !info->head || !info->hhea || !info->hmtx) in stbtt_InitFont_internal()
2275 stbtt_uint16 numOfLongHorMetrics = ttUSHORT(info->data+info->hhea + 34); in stbtt_GetGlyphHMetrics()
2583 if (ascent ) *ascent = ttSHORT(info->data+info->hhea + 4); in stbtt_GetFontVMetrics()
2584 if (descent) *descent = ttSHORT(info->data+info->hhea + 6); in stbtt_GetFontVMetrics()
2585 if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); in stbtt_GetFontVMetrics()
2609 int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea + 6); in stbtt_ScaleForPixelHeight()
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h722 int loca,head,glyf,hhea,hmtx,kern,gpos; // table locations as offset from start of .ttf member
1363 info->hhea = stbtt__find_table(data, fontstart, "hhea"); // required in stbtt_InitFont_internal()
1368 if (!cmap || !info->head || !info->hhea || !info->hmtx) in stbtt_InitFont_internal()
2275 stbtt_uint16 numOfLongHorMetrics = ttUSHORT(info->data+info->hhea + 34); in stbtt_GetGlyphHMetrics()
2583 if (ascent ) *ascent = ttSHORT(info->data+info->hhea + 4); in stbtt_GetFontVMetrics()
2584 if (descent) *descent = ttSHORT(info->data+info->hhea + 6); in stbtt_GetFontVMetrics()
2585 if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); in stbtt_GetFontVMetrics()
2609 int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea + 6); in stbtt_ScaleForPixelHeight()

12