Home
last modified time | relevance | path

Searched refs:hmtx (Results 1 – 25 of 31) sorted by relevance

12

/external/sfntly/cpp/src/test/
Dverify_hmtx.cc50 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()
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.cc78 } else if (TTF_KNOWN_TAGS[i] == Tag::hmtx) { in TestSerialization()
/external/harfbuzz_ng/src/
Dhb-ot-font.cc110 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_glyph_h_advances() local
114 *first_advance = font->em_scale_x (hmtx.get_advance (*first_glyph, font)); in hb_ot_get_glyph_h_advances()
229 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_font_h_extents() local
230 metrics->ascender = font->em_scale_y (hmtx.ascender); in hb_ot_get_font_h_extents()
231 metrics->descender = font->em_scale_y (hmtx.descender); in hb_ot_get_font_h_extents()
232 metrics->line_gap = font->em_scale_y (hmtx.line_gap); in hb_ot_get_font_h_extents()
234 return hmtx.has_font_extents; in hb_ot_get_font_h_extents()
Dhb-ot-hmtx-table.hh325 struct hmtx : hmtxvmtx<hmtx, hhea> { struct
336 struct hmtx_accelerator_t : hmtx::accelerator_t {};
Dhb-ot-face.hh45 HB_OT_ACCELERATOR(OT, hmtx) \
Dhb-subset.cc160 result = _subset<const OT::hmtx> (plan); in _subset_table()
DMakefile.sources68 hb-ot-hmtx-table.hh \
/external/fonttools/Tests/subset/
Dsubset_test.py512 hmtx = subsetfont["hmtx"]
513 self.assertEqual(hmtx["A"], (500, 132))
514 self.assertEqual(hmtx["B"], (0, 0))
546 hmtx = subsetfont["hmtx"]
547 self.assertEqual(hmtx["A"], (500, 132))
548 self.assertEqual(hmtx["B"], (0, 0))
580 hmtx = subsetfont["hmtx"]
581 self.assertEqual(hmtx["A"], (600, 31))
582 self.assertEqual(hmtx["glyph00002"], (0, 0))
/external/sfntly/cpp/src/sfntly/
Dtag.cc30 const int32_t Tag::hmtx = TAG('h', 'm', 't', 'x'); member in sfntly::Tag
91 Tag::hmtx,
Dtag.h36 static const int32_t hmtx; member
Dfont.cc443 Table::Builder* raw_hmtx_builder = GetBuilder(builder_map, Tag::hmtx); in InterRelateBuilders()
/external/fonttools/Lib/fontTools/cffLib/
Dwidth.py158 hmtx = font['hmtx'] variable
159 widths = [m[0] for m in hmtx.metrics.values()]
/external/harfbuzz_ng/test/api/fonts/
DREADME3 Inconsolata-Regular.abc.widerc.ttf has the hmtx width of "c" set to 600; everything else is 500. Su…
/external/fonttools/Lib/fontTools/varLib/
Dmutator.py110 hmtx = varfont['hmtx']
118 entry = list(hmtx[gname])
145 hmtx[gname] = tuple(entry)
/external/sfntly/cpp/src/sfntly/table/
Dtable.cc95 } else if (tag == Tag::hmtx) { in GetBuilder()
/external/harfbuzz_ng/test/api/
DMakefile.am47 test-subset-hmtx \
/external/u-boot/drivers/video/
Dstb_truetype.h642 int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf member
1035 info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required in stbtt_InitFont()
1037 if (!cmap || !info->loca || !info->head || !info->glyf || !info->hhea || !info->hmtx) in stbtt_InitFont()
1475 if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); in stbtt_GetGlyphHMetrics()
1476 if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); in stbtt_GetGlyphHMetrics()
1478 …if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-… in stbtt_GetGlyphHMetrics()
1479 …if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics +… in stbtt_GetGlyphHMetrics()
/external/freetype/src/sfnt/
Dsfobjs.c1270 LOADM_( hmtx, 0 ); in sfnt_load_face()
1324 LOADM_( hmtx, 1 ); in sfnt_load_face()
/external/skia/third_party/harfbuzz/
DBUILD.gn98 "$_src/hb-ot-hmtx-table.hh",
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc788 Tag::prep, Tag::glyf, Tag::hmtx, Tag::fpgm, Tag::EBDT, in Subset()
/external/fonttools/
DNEWS.rst107 - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
985 - [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
1169 - Fixed bug in hmtx/vmtx code that only occured if all advances were
DPKG-INFO121 fvar, gasp, gcid, glyf, gvar, hdmx, head, hhea, hmtx, kern, lcar,
524 - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
1402 - [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
1586 - Fixed bug in hmtx/vmtx code that only occured if all advances were
DREADME.rst111 fvar, gasp, gcid, glyf, gvar, hdmx, head, hhea, hmtx, kern, lcar,
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO121 fvar, gasp, gcid, glyf, gvar, hdmx, head, hhea, hmtx, kern, lcar,
524 - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
1402 - [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
1586 - Fixed bug in hmtx/vmtx code that only occured if all advances were

12