/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | verify_hhea.cc | 36 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 …]
|
D | test_data.cc | 41 Tag::glyf, Tag::head, Tag::hhea, Tag::hmtx, Tag::kern, 48 Tag::glyf, Tag::hdmx, Tag::head, Tag::hhea, Tag::hmtx,
|
D | serialization_test.cc | 74 if (TTF_KNOWN_TAGS[i] == Tag::hhea) { in TestSerialization()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-metrics.cc | 82 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()
|
D | hb-ot-hhea-table.hh | 93 struct hhea : _hea<hhea> { struct
|
D | hb-ot-hmtx-table.hh | 168 …num_advances = T::is_horizontal ? face->table.hhea->numberOfLongMetrics : face->table.vhea->number… in init() 323 struct hmtx : hmtxvmtx<hmtx, hhea> {
|
D | hb-ot-face-table-list.hh | 53 HB_OT_TABLE (OT, hhea)
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/ |
D | HheaTests.java | 34 (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/ |
D | RenumberingSubsetter.java | 46 fontBuilder.newTableBuilder(Tag.hhea, font.getTable(Tag.hhea).readFontData()); in setUpTables()
|
D | HorizontalMetricsTableSubsetter.java | 35 super(Tag.hmtx, Tag.hhea); in HorizontalMetricsTableSubsetter()
|
D | HorizontalMetricsTableBuilder.java | 80 (HorizontalHeaderTable.Builder) fontBuilder.getTableBuilder(Tag.hhea); in build()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
D | tag.cc | 29 const int32_t Tag::hhea = TAG('h', 'h', 'e', 'a'); member in sfntly::Tag 76 Tag::hhea, 88 Tag::hhea,
|
D | tag.h | 35 static const int32_t hhea; member
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/ |
D | SFLint.java | 168 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/ |
D | embed_sfnt.c | 185 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()
|
D | sfnt.c | 539 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/ |
D | HorizontalMetricsTableBuilderTest.java | 40 (HorizontalHeaderTable.Builder) fontBuilder.newTableBuilder(Tag.hhea); in testHorizontalMetricsTableBuilder()
|
D | RenumberingSubsetTest.java | 110 HorizontalHeaderTable hheaTable = dstFont.getTable(Tag.hhea); in testHorizontalHeader()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/ |
D | Tag.java | 41 public static final int hhea = Tag.intValue(new byte[]{'h', 'h', 'e', 'a'}); field in Tag
|
D | Font.java | 99 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/ |
D | table.cc | 92 } else if (tag == Tag::hhea) { in GetBuilder()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/ |
D | Table.java | 192 } else if (tag == Tag.hhea) { in getBuilder()
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | sfobjs.c | 913 LOADM_( hhea, 0 ); in sfnt_load_face() 967 LOADM_( hhea, 1 ); in sfnt_load_face()
|
/third_party/mesa3d/src/imgui/ |
D | imstb_truetype.h | 722 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/ |
D | imstb_truetype.h | 722 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()
|