Home
last modified time | relevance | path

Searched refs:hmtx (Results 1 – 25 of 45) 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/chromium_org/third_party/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/chromium_org/third_party/ots/src/
Dhmtx.cc17 OpenTypeHMTX *hmtx = new OpenTypeHMTX; in ots_hmtx_parse() local
18 file->hmtx = hmtx; in ots_hmtx_parse()
25 &file->hhea->header, &hmtx->metrics)) { in ots_hmtx_parse()
33 return file->hmtx != NULL; in ots_hmtx_should_serialise()
37 if (!SerialiseMetricsTable(out, &file->hmtx->metrics)) { in ots_hmtx_serialise()
44 delete file->hmtx; in ots_hmtx_free()
Dots.h198 F(hmtx, HMTX) \
/external/harfbuzz_ng/src/
Dhb-ot-font.cc43 const OT::hmtx *hmtx; member
68 …ot_font->hmtx_blob = OT::Sanitizer<OT::hmtx>::sanitize (font->face->reference_table (HB_OT_TAG_hmt… in _hb_ot_font_create()
76 ot_font->hmtx = OT::Sanitizer<OT::hmtx>::lock_instance (ot_font->hmtx_blob); in _hb_ot_font_create()
154 return font->em_scale_x (ot_font->hmtx->longHorMetric[glyph].advanceWidth); in hb_ot_get_glyph_h_advance()
Dhb-ot-hmtx-table.hh51 struct hmtx struct
/external/chromium_org/third_party/ots/
Dots-common.gypi36 'src/hmtx.cc',
37 'src/hmtx.h',
Dots.target.darwin-arm64.mk40 third_party/ots/src/hmtx.cc \
/external/chromium_org/build/secondary/third_party/ots/
DBUILD.gn39 "src/hmtx.cc",
40 "src/hmtx.h",
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-hmtx-table.hh51 struct hmtx struct
/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
/external/chromium_org/third_party/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
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py186 hmtx = self.ttFont['hmtx']
188 for name, (width, lsb) in hmtx.metrics.items():
/external/stlport/stlport/stl/
D_threads.h212 APIRET _System DosRequestMutexSem(HMTX hmtx, ULONG ulTimeout);
213 APIRET _System DosReleaseMutexSem(HMTX hmtx);
214 APIRET _System DosCloseMutexSem(HMTX hmtx);
/external/chromium_org/third_party/brotli/src/
DREADME68 hmtx: strips lsb’s from the hmtx table. Based on the idea that lsb’s can be
102 glyf/triplet,code,push,reslice:hdmx:hmtx:cmap:kern:lzma
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
DOpenTypeVerticalData.cpp422 …const OpenType::HmtxTable* hmtx = OpenType::validateTable<OpenType::HmtxTable>(buffer, countHmtxEn… in loadMetrics() local
423 if (!hmtx) { in loadMetrics()
429 m_advanceWidths[i] = hmtx->entries[i].advanceWidth; in loadMetrics()
/external/sfntly/cpp/src/sfntly/table/
Dtable.cc95 } else if (tag == Tag::hmtx) { in GetBuilder()
/external/chromium_org/third_party/ots/test/
DSConstruct28 '../src/hmtx.cc',
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
Dtable.cc95 } else if (tag == Tag::hmtx) { in GetBuilder()

12