/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A 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 in VerifyHHEA() [all...] |
H A 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,
|
H A D | serialization_test.cc | 74 if (TTF_KNOWN_TAGS[i] == Tag::hhea) { in TestSerialization()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-metrics.cc | 31 #include "hb-ot-hhea-table.hh" 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, lineGa in hb_ot_metrics_get_position() [all...] |
H A D | hb-ot-hhea-table.hh | 33 * hhea -- Horizontal Header 34 * https://docs.microsoft.com/en-us/typography/opentype/spec/hhea 93 struct hhea : _hea<hhea> { struct
|
H A D | hb-ot-hmtx-table.hh | 31 #include "hb-ot-hhea-table.hh" 168 num_advances = T::is_horizontal ? face->table.hhea->numberOfLongMetrics : face->table.vhea->numberOfLongMetrics; in init() 300 * the 'hhea' table. If the font is 323 struct hmtx : hmtxvmtx<hmtx, hhea> {
|
H A 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/ |
H A 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/ |
H A D | RenumberingSubsetter.java | 46 fontBuilder.newTableBuilder(Tag.hhea, font.getTable(Tag.hhea).readFontData()); in setUpTables()
|
H A D | HorizontalMetricsTableSubsetter.java | 33 // Note: doesn't actually create the hhea table, that should be done in the in HorizontalMetricsTableSubsetter() 35 super(Tag.hmtx, Tag.hhea); in HorizontalMetricsTableSubsetter()
|
H A D | HorizontalMetricsTableBuilder.java | 31 * hhea table, leading to somewhat awkward plumbing. 80 (HorizontalHeaderTable.Builder) fontBuilder.getTableBuilder(Tag.hhea); in build()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
H A D | tag.cc | 29 const int32_t Tag::hhea = TAG('h', 'h', 'e', 'a'); member in sfntly::Tag 76 Tag::hhea, 88 Tag::hhea,
|
H A 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/ |
H A D | SFLint.java | 168 HorizontalHeaderTable hhea = (HorizontalHeaderTable) font.getTable(Tag.hhea); in lintAdvanceWidths() 169 int hheaMax = hhea.advanceWidthMax(); in lintAdvanceWidths() 170 if (maxAdvanceWidth != hhea.advanceWidthMax()) { in lintAdvanceWidths()
|
/third_party/cups-filters/fontembed/ |
H A 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()
|
H A D | sfnt.c | 11 /* reqd. Tables: cmap, head, hhea, hmtx, maxp, name, OS/2, post 527 int otf_load_more(OTF_FILE *otf) // {{{ - 0 on success => hhea,hmtx,name,[glyf] in otf_load_more() 538 // {{{ read hhea table in otf_load_more() 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() 544 fprintf(stderr,"Unsupported OTF font / hhea table \n"); in otf_load_more() 547 otf->numberOfHMetrics=get_USHORT(hhea+34); in otf_load_more() 548 free(hhea); in otf_load_more() [all...] |
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/ |
H A D | HorizontalMetricsTableBuilderTest.java | 40 (HorizontalHeaderTable.Builder) fontBuilder.newTableBuilder(Tag.hhea); in testHorizontalMetricsTableBuilder()
|
H A 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/ |
H A D | Tag.java | 41 public static final int hhea = Tag.intValue(new byte[]{'h', 'h', 'e', 'a'}); field in Tag
|
H A 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/ |
H A 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/ |
H A D | Table.java | 192 } else if (tag == Tag.hhea) { in getBuilder()
|
/third_party/mesa3d/src/imgui/ |
H A 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); 2584 if (descent) *descent = ttSHORT(info->data+info->hhea + 6); 2585 if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); 2609 int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A 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); 2584 if (descent) *descent = ttSHORT(info->data+info->hhea + 6); 2585 if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); 2609 int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfobjs.c | 828 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */ in FT_LOCAL_DEF() 912 /* load the `hhea' and `hmtx' tables */ in FT_LOCAL_DEF() 913 LOADM_( hhea, 0 ); in FT_LOCAL_DEF() 936 /* No `hhea' table necessary for SFNT Mac fonts. */ in FT_LOCAL_DEF() 950 /* overriding metrics, tolerate a missing `hhea' table. */ in FT_LOCAL_DEF() 967 LOADM_( hhea, 1 ); in FT_LOCAL_DEF() 1321 * 2. Otherwise, use the `hhea' table's metrics. in FT_LOCAL_DEF()
|