/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | verify_hmtx.cc | 50 HorizontalMetricsTablePtr hmtx = down_cast<HorizontalMetricsTable*>(table); in VerifyHMTX() local 51 if (hmtx == NULL) { in VerifyHMTX() 55 EXPECT_EQ(hmtx->NumberOfHMetrics(), HMTX_ENTRIES_COUNT); in VerifyHMTX() 56 EXPECT_EQ(hmtx->NumberOfLSBs(), HMTX_LSB_COUNT); in VerifyHMTX() 59 EXPECT_EQ(hmtx->AdvanceWidth(i), HMTX_ENTRIES[i].advance_width_); in VerifyHMTX() 60 EXPECT_EQ(hmtx->LeftSideBearing(i), HMTX_ENTRIES[i].lsb_); in VerifyHMTX() 64 EXPECT_EQ(hmtx->AdvanceWidth(HMTX_ENTRIES_COUNT), in VerifyHMTX() 66 EXPECT_EQ(hmtx->LeftSideBearing(HMTX_ENTRIES_COUNT), HMTX_ENTRIES[0].lsb_); in VerifyHMTX()
|
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 | 78 } else if (TTF_KNOWN_TAGS[i] == Tag::hmtx) { in TestSerialization()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-subset-drop-tables.c | 49 hb_blob_t *hmtx = hb_face_reference_table (subset, HB_TAG ('h', 'm', 't', 'x')); in test_subset_drop_tables() local 52 g_assert (!hb_blob_get_length (hmtx)); in test_subset_drop_tables() 55 hb_blob_destroy (hmtx); in test_subset_drop_tables()
|
D | meson.build | 41 'test-subset-hmtx.c',
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | HdmxEncoder.java | 39 HorizontalMetricsTable hmtx = sourceFont.getTable(Tag.hmtx); in encode() local 50 ((64 * ppem * hmtx.advanceWidth(j) + unitsPerEm / 2) / unitsPerEm + 32) / 64; in encode()
|
/third_party/cups-filters/fontembed/ |
D | sfnt.c | 353 free(otf->hmtx); in otf_close() 552 char *hmtx=otf_get_table(otf,OTF_TAG('h','m','t','x'),&len); in otf_load_more() local 553 if ( (!hmtx)|| in otf_load_more() 558 if (otf->hmtx) { in otf_load_more() 559 free(otf->hmtx); in otf_load_more() 562 otf->hmtx=hmtx; in otf_load_more() 649 if (!otf->hmtx) { in otf_get_width() 659 return get_USHORT(otf->hmtx+(otf->numberOfHMetrics-1)*2); in otf_get_width() 662 return get_USHORT(otf->hmtx+gid*4); in otf_get_width()
|
D | sfnt_int.h | 65 return get_USHORT(otf->hmtx+(otf->numberOfHMetrics-1)*4); in get_width_fast() 67 return get_USHORT(otf->hmtx+gid*4); in get_width_fast()
|
D | test_analyze.c | 169 if (!otf->hmtx) { in show_hmtx() 176 get_USHORT(otf->hmtx+iA*4), in show_hmtx() 177 get_SHORT(otf->hmtx+iA*4+2)); in show_hmtx()
|
D | sfnt.h | 29 char *hmtx,*name,*cmap; member
|
D | embed_sfnt.c | 255 if (!otf->hmtx) { in emb_otf_get_pdf_widths() 300 if (!otf->hmtx) { in emb_otf_get_pdf_cidwidths()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/ |
D | HorizontalMetricsTableSubsetter.java | 35 super(Tag.hmtx, Tag.hhea); in HorizontalMetricsTableSubsetter() 44 HorizontalMetricsTable origMetrics = font.getTable(Tag.hmtx); in subset()
|
D | HorizontalMetricsTableBuilder.java | 78 fontBuilder.newTableBuilder(Tag.hmtx, data); in build()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/ |
D | SFLint.java | 161 HorizontalMetricsTable hmtx = (HorizontalMetricsTable) font.getTable(Tag.hmtx); in lintAdvanceWidths() local 162 for (int i = 0; i < hmtx.numberOfHMetrics(); i++) { in lintAdvanceWidths() 163 int advanceWidth = hmtx.hMetricAdvanceWidth(i); in lintAdvanceWidths()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-hmtx-table.hh | 323 struct hmtx : hmtxvmtx<hmtx, hhea> { struct 334 struct hmtx_accelerator_t : hmtx::accelerator_t {};
|
D | hb-ot-font.cc | 111 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_glyph_h_advances() local 115 *first_advance = font->em_scale_x (hmtx.get_advance (*first_glyph, font)); in hb_ot_get_glyph_h_advances()
|
D | hb-ot-glyf-table.hh | 480 extents->x_bearing = font->em_scale_x (glyf_accelerator.hmtx->get_side_bearing (gid)); in get_extents() 795 int h_delta = (int) header->xMin - glyf_accelerator.hmtx->get_side_bearing (gid); in get_points() 797 unsigned h_adv = glyf_accelerator.hmtx->get_advance (gid); in get_points() 912 hmtx = nullptr; in init() 926 hmtx = face->table.hmtx; in init() 1040 return is_vertical ? vmtx->get_advance (gid) : hmtx->get_advance (gid); in get_advance_var() 1056 return is_vertical ? vmtx->get_side_bearing (gid) : hmtx->get_side_bearing (gid); in get_side_bearing_var() 1252 const hmtx_accelerator_t *hmtx; member
|
D | hb-ot-face-table-list.hh | 54 HB_OT_ACCELERATOR (OT, hmtx)
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
D | tag.cc | 30 const int32_t Tag::hmtx = TAG('h', 'm', 't', 'x'); member in sfntly::Tag 91 Tag::hmtx,
|
D | tag.h | 36 static const int32_t hmtx; member
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/ |
D | MetricsTests.java | 38 HorizontalMetricsTable hmtxTable = font.getTable(Tag.hmtx); in testBasicHmtxValidity()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/fonts/ |
D | README | 3 Inconsolata-Regular.abc.widerc.ttf has the hmtx width of "c" set to 600; everything else is 500. Su…
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/ |
D | HorizontalMetricsTableBuilderTest.java | 56 HorizontalMetricsTable hmtxTable = font.getTable(Tag.hmtx); in testHorizontalMetricsTableBuilder()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/ |
D | Tag.java | 42 public static final int hmtx = Tag.intValue(new byte[]{'h', 'm', 't', 'x'}); field in Tag
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
D | table.cc | 95 } else if (tag == Tag::hmtx) { in GetBuilder()
|