/external/chromium_org/third_party/ots/src/ |
maxp.cc | 5 #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->max_points) | 78 const OpenTypeMAXP *maxp = file->maxp; local [all...] |
hmtx.cc | 8 #include "maxp.h" 20 if (!file->hhea || !file->maxp) { 24 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
|
vmtx.cc | 8 #include "maxp.h" 21 if (!file->vhea || !file->maxp) { 25 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
|
ltsh.cc | 7 #include "maxp.h" 20 if (!file->maxp) { 39 if (num_glyphs != file->maxp->num_glyphs) {
|
loca.cc | 8 #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.
|
hdmx.cc | 7 #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) {
|
hhea.cc | 8 #include "maxp.h"
|
post.cc | 7 #include "maxp.h" 54 if (!file->maxp) { 59 if (file->maxp->num_glyphs > 258) { 69 if (num_glyphs != file->maxp->num_glyphs) {
|
vhea.cc | 9 #include "maxp.h"
|
gsub.cc | 13 #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...] |
glyf.cc | 12 #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;
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
verify_maxp.cc | 41 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->MaxTwilightPoints(), MAXP_MAX_TWILIGHT_POINTS) [all...] |
test_data.cc | 42 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/ |
verify_maxp.cc | 41 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->MaxTwilightPoints(), MAXP_MAX_TWILIGHT_POINTS) [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-maxp-table.hh | 37 * 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),
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
_l_o_c_a.py | 27 if len(locations) < (ttFont['maxp'].numGlyphs + 1): 28 warnings.warn("corrupt 'loca' table, or wrong numGlyphs in 'maxp': %d %d" % (len(locations) - 1, ttFont['maxp'].numGlyphs))
|
_p_o_s_t.py | 73 self.glyphOrder = standardGlyphOrder[:ttFont["maxp"].numGlyphs] 78 if numGlyphs > ttFont['maxp'].numGlyphs: 79 # Assume the numGlyphs field is bogus, so sync with maxp. 83 numGlyphs = ttFont['maxp'].numGlyphs 91 self.glyphOrder = glyphOrder = [None] * int(ttFont['maxp'].numGlyphs) 102 if numGlyphs < ttFont['maxp'].numGlyphs: 103 for i in range(numGlyphs, ttFont['maxp'].numGlyphs): 111 for i in range(ttFont['maxp'].numGlyphs): 131 numGlyphs = ttFont['maxp'].numGlyphs 149 numGlyphs = ttFont['maxp'].numGlyph [all...] |
L_T_S_H_.py | 20 #assert numGlyphs == ttFont['maxp'].numGlyphs 33 #assert len(self.yPels) == ttFont['maxp'].numGlyphs == numGlyphs
|
T_S_I__5.py | 12 numGlyphs = ttFont['maxp'].numGlyphs
|
_h_d_m_x.py | 16 numGlyphs = ttFont['maxp'].numGlyphs 32 numGlyphs = ttFont['maxp'].numGlyphs
|
/external/harfbuzz_ng/src/ |
hb-ot-maxp-table.hh | 37 * 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),
|
/external/chromium_org/third_party/ots/ |
ots-common.gypi | 50 'src/maxp.cc', 51 'src/maxp.h',
|
BUILD.gn | 53 "src/maxp.cc", 54 "src/maxp.h",
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/ |
maximum_profile_table.h | 26 // A Maximum Profile table - 'maxp'. 30 // Builder for a Maximum Profile table - 'maxp'.
|
/external/sfntly/cpp/src/sfntly/table/core/ |
maximum_profile_table.h | 26 // A Maximum Profile table - 'maxp'. 30 // Builder for a Maximum Profile table - 'maxp'.
|