Searched refs:maxp (Results 1 - 25 of 66) sorted by relevance

123

/external/chromium_org/third_party/ots/src/
H A Dmaxp.cc5 #include "maxp.h"
7 // maxp - Maximum Profile
8 // http://www.microsoft.com/opentype/otspec/maxp.htm
15 OpenTypeMAXP *maxp = new OpenTypeMAXP; local
16 file->maxp = maxp;
27 if (!table.ReadU16(&maxp->num_glyphs)) {
31 if (!maxp->num_glyphs) {
36 maxp->version_1 = true;
37 if (!table.ReadU16(&maxp
78 const OpenTypeMAXP *maxp = file->maxp; local
[all...]
H A Dhmtx.cc8 #include "maxp.h"
20 if (!file->hhea || !file->maxp) {
24 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
H A Dvmtx.cc8 #include "maxp.h"
21 if (!file->vhea || !file->maxp) {
25 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
H A Dhdmx.cc7 #include "maxp.h"
22 if (!file->head || !file->maxp) {
50 const int32_t actual_size_device_record = file->maxp->num_glyphs + 2;
79 rec.widths.reserve(file->maxp->num_glyphs);
80 for (unsigned j = 0; j < file->maxp->num_glyphs; ++j) {
H A Dloca.cc8 #include "maxp.h"
24 if (!file->maxp || !file->head) {
28 const unsigned num_glyphs = file->maxp->num_glyphs;
31 // maxp->num_glyphs is uint16_t, thus the addition never overflows.
H A Dltsh.cc7 #include "maxp.h"
20 if (!file->maxp) {
39 if (num_glyphs != file->maxp->num_glyphs) {
H A Dpost.cc7 #include "maxp.h"
54 if (!file->maxp) {
59 if (file->maxp->num_glyphs > 258) {
69 if (num_glyphs != file->maxp->num_glyphs) {
H A Dglyf.cc12 #include "maxp.h"
102 if ((file->maxp->version_1) &&
103 (file->maxp->max_size_glyf_instructions < bytecode_length)) {
177 if (!file->maxp || !file->loca || !file->head) {
184 const unsigned num_glyphs = file->maxp->num_glyphs;
H A Dgpos.cc13 #include "maxp.h"
241 file->maxp->num_glyphs)) {
391 file->maxp->num_glyphs)) {
396 file->maxp->num_glyphs)) {
408 file->maxp->num_glyphs)) {
475 file->maxp->num_glyphs)) {
575 file->maxp->num_glyphs)) {
583 file->maxp->num_glyphs)) {
647 return ots::ParseContextSubtable(data, length, file->maxp->num_glyphs,
656 file->maxp
[all...]
H A Dgsub.cc13 #include "maxp.h"
85 const uint16_t num_glyphs = file->maxp->num_glyphs;
173 const uint16_t num_glyphs = file->maxp->num_glyphs;
248 const uint16_t num_glyphs = file->maxp->num_glyphs;
364 const uint16_t num_glyphs = file->maxp->num_glyphs;
400 return ots::ParseContextSubtable(data, length, file->maxp->num_glyphs,
410 file->maxp->num_glyphs,
436 const uint16_t num_glyphs = file->maxp->num_glyphs;
586 // Parsing gsub table requires |file->maxp->num_glyphs|
587 if (!file->maxp) {
[all...]
H A Dmetrics.cc8 #include "maxp.h"
68 if (!file->maxp) {
72 if (header->num_metrics > file->maxp->num_glyphs) {
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dverify_maxp.cc41 MaximumProfileTablePtr maxp = down_cast<MaximumProfileTable*>(table); local
42 if (maxp == NULL) {
46 EXPECT_EQ(maxp->TableVersion(), Fixed1616::Fixed(1, 0));
47 EXPECT_EQ(maxp->NumGlyphs(), MAXP_NUM_GLYPHS);
48 EXPECT_EQ(maxp->MaxPoints(), MAXP_MAX_POINTS);
49 EXPECT_EQ(maxp->MaxContours(), MAXP_MAX_CONTOURS);
50 EXPECT_EQ(maxp->MaxCompositePoints(), MAXP_MAX_COMPOSITE_POINTS);
51 EXPECT_EQ(maxp->MaxCompositeContours(), MAXP_MAX_COMPOSITE_CONTOURS);
52 EXPECT_EQ(maxp->MaxZones(), MAXP_MAX_ZONES);
53 EXPECT_EQ(maxp
[all...]
H A Dtest_data.cc42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post,
49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
/external/sfntly/cpp/src/test/
H A Dverify_maxp.cc41 MaximumProfileTablePtr maxp = down_cast<MaximumProfileTable*>(table); local
42 if (maxp == NULL) {
46 EXPECT_EQ(maxp->TableVersion(), Fixed1616::Fixed(1, 0));
47 EXPECT_EQ(maxp->NumGlyphs(), MAXP_NUM_GLYPHS);
48 EXPECT_EQ(maxp->MaxPoints(), MAXP_MAX_POINTS);
49 EXPECT_EQ(maxp->MaxContours(), MAXP_MAX_CONTOURS);
50 EXPECT_EQ(maxp->MaxCompositePoints(), MAXP_MAX_COMPOSITE_POINTS);
51 EXPECT_EQ(maxp->MaxCompositeContours(), MAXP_MAX_COMPOSITE_CONTOURS);
52 EXPECT_EQ(maxp->MaxZones(), MAXP_MAX_ZONES);
53 EXPECT_EQ(maxp
[all...]
H A Dtest_data.cc42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post,
49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-maxp-table.hh37 * maxp -- The Maximum Profile Table
42 struct maxp struct in namespace:OT
58 FixedVersion version; /* Version of the maxp table (0.5 or 1.0),
H A Dhb-face.cc36 #include "hb-ot-maxp-table.hh"
475 hb_blob_t *maxp_blob = OT::Sanitizer<OT::maxp>::sanitize (reference_table (HB_OT_TAG_maxp));
476 const OT::maxp *maxp_table = OT::Sanitizer<OT::maxp>::lock_instance (maxp_blob);
/external/harfbuzz_ng/src/
H A Dhb-ot-maxp-table.hh37 * maxp -- The Maximum Profile Table
42 struct maxp struct in namespace:OT
58 FixedVersion version; /* Version of the maxp table (0.5 or 1.0),
H A Dhb-face.cc36 #include "hb-ot-maxp-table.hh"
475 hb_blob_t *maxp_blob = OT::Sanitizer<OT::maxp>::sanitize (reference_table (HB_OT_TAG_maxp));
476 const OT::maxp *maxp_table = OT::Sanitizer<OT::maxp>::lock_instance (maxp_blob);
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/
H A Dtag.cc31 const int32_t Tag::maxp = TAG('m', 'a', 'x', 'p'); member in class:sfntly::Tag
77 Tag::maxp,
89 Tag::maxp,
H A Dtag.h37 static const int32_t maxp; member in struct:sfntly::Tag
/external/sfntly/cpp/src/sfntly/
H A Dtag.cc31 const int32_t Tag::maxp = TAG('m', 'a', 'x', 'p'); member in class:sfntly::Tag
77 Tag::maxp,
89 Tag::maxp,
H A Dtag.h37 static const int32_t maxp; member in struct:sfntly::Tag
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
H A Dtable.cc98 } else if (tag == Tag::maxp) {
/external/sfntly/cpp/src/sfntly/table/
H A Dtable.cc98 } else if (tag == Tag::maxp) {

Completed in 492 milliseconds

123