Searched refs:hhea (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/ots/src/
H A Dhhea.cc5 #include "hhea.h"
10 // hhea - Horizontal Header
11 // http://www.microsoft.com/opentype/otspec/hhea.htm
17 OpenTypeHHEA *hhea = new OpenTypeHHEA; local
18 file->hhea = hhea;
20 if (!table.ReadU32(&hhea->header.version)) {
23 if (hhea->header.version >> 16 != 1) {
27 if (!ParseMetricsHeader(file, &table, &hhea->header)) {
35 return file->hhea !
[all...]
H A Dhmtx.cc7 #include "hhea.h"
20 if (!file->hhea || !file->maxp) {
25 &file->hhea->header, &hmtx->metrics)) {
H A Dots.h199 F(hhea, HHEA) \
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dverify_hhea.cc36 HorizontalHeaderTablePtr hhea = down_cast<HorizontalHeaderTable*>(table); local
37 if (hhea == NULL) {
41 EXPECT_EQ(hhea->TableVersion(), Fixed1616::Fixed(1, 0));
42 EXPECT_EQ(hhea->Ascender(), HHEA_ASCENDER);
43 EXPECT_EQ(hhea->Descender(), HHEA_DESCENDER);
44 EXPECT_EQ(hhea->AdvanceWidthMax(), HHEA_ADVANCE_WIDTH_MAX);
45 EXPECT_EQ(hhea->MinLeftSideBearing(), HHEA_MIN_LSB);
46 EXPECT_EQ(hhea->MinRightSideBearing(), HHEA_MIN_RSB);
47 EXPECT_EQ(hhea->XMaxExtent(), HHEA_X_MAX_EXTENT);
51 EXPECT_EQ(hhea
[all...]
H A Dtest_data.cc41 Tag::glyf, Tag::head, Tag::hhea, Tag::hmtx, Tag::kern,
48 Tag::glyf, Tag::hdmx, Tag::head, Tag::hhea, Tag::hmtx,
H A Dserialization_test.cc74 if (TTF_KNOWN_TAGS[i] == Tag::hhea) {
/external/sfntly/cpp/src/test/
H A Dverify_hhea.cc36 HorizontalHeaderTablePtr hhea = down_cast<HorizontalHeaderTable*>(table); local
37 if (hhea == NULL) {
41 EXPECT_EQ(hhea->TableVersion(), Fixed1616::Fixed(1, 0));
42 EXPECT_EQ(hhea->Ascender(), HHEA_ASCENDER);
43 EXPECT_EQ(hhea->Descender(), HHEA_DESCENDER);
44 EXPECT_EQ(hhea->AdvanceWidthMax(), HHEA_ADVANCE_WIDTH_MAX);
45 EXPECT_EQ(hhea->MinLeftSideBearing(), HHEA_MIN_LSB);
46 EXPECT_EQ(hhea->MinRightSideBearing(), HHEA_MIN_RSB);
47 EXPECT_EQ(hhea->XMaxExtent(), HHEA_X_MAX_EXTENT);
51 EXPECT_EQ(hhea
[all...]
H A Dtest_data.cc41 Tag::glyf, Tag::head, Tag::hhea, Tag::hmtx, Tag::kern,
48 Tag::glyf, Tag::hdmx, Tag::head, Tag::hhea, Tag::hmtx,
H A Dserialization_test.cc74 if (TTF_KNOWN_TAGS[i] == Tag::hhea) {
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-hhea-table.hh37 * hhea -- The Horizontal Header Table
43 struct hhea struct in namespace:OT
H A Dhb-ot-font.cc34 #include "hb-ot-hhea-table.hh"
63 hb_blob_t *hhea_blob = OT::Sanitizer<OT::hhea>::sanitize (font->face->reference_table (HB_OT_TAG_hhea));
64 const OT::hhea *hhea = OT::Sanitizer<OT::hhea>::lock_instance (hhea_blob); local
65 ot_font->num_hmetrics = hhea->numberOfHMetrics;
/external/harfbuzz_ng/src/
H A Dhb-ot-hhea-table.hh37 * hhea -- The Horizontal Header Table
43 struct hhea struct in namespace:OT
H A Dhb-ot-font.cc34 #include "hb-ot-hhea-table.hh"
63 hb_blob_t *hhea_blob = OT::Sanitizer<OT::hhea>::sanitize (font->face->reference_table (HB_OT_TAG_hhea));
64 const OT::hhea *hhea = OT::Sanitizer<OT::hhea>::lock_instance (hhea_blob); local
65 ot_font->num_hmetrics = hhea->numberOfHMetrics;
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/
H A Dtag.cc29 const int32_t Tag::hhea = TAG('h', 'h', 'e', 'a'); member in class:sfntly::Tag
76 Tag::hhea,
88 Tag::hhea,
H A Dtag.h35 static const int32_t hhea; member in struct:sfntly::Tag
/external/sfntly/cpp/src/sfntly/
H A Dtag.cc29 const int32_t Tag::hhea = TAG('h', 'h', 'e', 'a'); member in class:sfntly::Tag
76 Tag::hhea,
88 Tag::hhea,
H A Dtag.h35 static const int32_t hhea; member in struct:sfntly::Tag
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
H A Dtable.cc92 } else if (tag == Tag::hhea) {
/external/sfntly/cpp/src/sfntly/table/
H A Dtable.cc92 } else if (tag == Tag::hhea) {
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeVerticalData.cpp407 // Load hhea and hmtx to get x-component of vertical origins.
410 const OpenType::HheaTable* hhea = OpenType::validateTable<OpenType::HheaTable>(buffer); local
411 if (!hhea)
413 uint16_t countHmtxEntries = hhea->numberOfHMetrics;
422 WTF_LOG_ERROR("hhea exists but hmtx does not (or broken)");
/external/chromium_org/third_party/ots/
H A Dots.target.darwin-arm64.mk40 third_party/ots/src/hhea.cc \
H A Dots.target.linux-arm64.mk40 third_party/ots/src/hhea.cc \
H A Dots.target.darwin-arm.mk40 third_party/ots/src/hhea.cc \
H A Dots.target.darwin-mips.mk40 third_party/ots/src/hhea.cc \
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dsfobjs.c590 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */
654 /* load the `hhea' and `hmtx' tables */
655 LOADM_( hhea, 0 );
678 /* No `hhea' table necessary for SFNT Mac fonts. */
692 /* overriding metrics, tolerate a missing `hhea' table. */
709 LOADM_( hhea, 1 );
1015 /* The ascender and descender are taken from the `hhea' table. */

Completed in 348 milliseconds

12