Searched refs:numberOfContours (Results 1 – 17 of 17) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_l_y_f.py | 152 if glyph.numberOfContours: 336 numberOfContours=glyph.numberOfContours, 345 numberOfContours=glyph.numberOfContours, 385 elif glyph.numberOfContours == 0: 522 self.numberOfContours = 0 538 self.numberOfContours = 0 545 if self.numberOfContours == 0: 559 if self.numberOfContours == 0: 577 for i in range(self.numberOfContours): 594 haveInstructions = self.numberOfContours > 0 [all …]
|
D | _v_h_e_a.py | 55 if g.numberOfContours == 0: 57 if g.numberOfContours < 0 and not hasattr(g, "yMax"):
|
D | _h_h_e_a.py | 69 if g.numberOfContours == 0: 71 if g.numberOfContours < 0 and not hasattr(g, "xMax"):
|
D | _m_a_x_p.py | 77 if g.numberOfContours: 84 if g.numberOfContours > 0:
|
/external/fonttools/Lib/fontTools/pens/ |
D | ttGlyphPen.py | 168 glyph.numberOfContours = -1 170 glyph.numberOfContours = len(glyph.endPtsOfContours)
|
/external/harfbuzz_ng/src/ |
D | hb-ot-glyf-table.hh | 397 bool has_data () const { return numberOfContours; } in has_data() 411 HBINT16 numberOfContours; member 432 { return GlyphHeader::static_size + 2 * header.numberOfContours; } in instruction_len_offset() 573 int num_contours = header.numberOfContours; in get_contour_points() 743 int num_contours = header->numberOfContours; in Glyph()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | woff2.py | 754 glyph.numberOfContours = self.nContourStream[glyphID] 755 if glyph.numberOfContours == 0: 782 for i in range(glyph.numberOfContours): 882 self.nContourStream += struct.pack(">h", glyph.numberOfContours) 883 if glyph.numberOfContours == 0: 919 assert glyph.numberOfContours != 0, "empty glyph has no bbox"
|
D | removeOverlaps.py | 89 glyph.numberOfContours > 0
|
/external/skia/src/sfnt/ |
D | SkOTTable_glyf.h | 67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
|
/external/skqp/src/sfnt/ |
D | SkOTTable_glyf.h | 67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
|
/external/fonttools/Tests/subset/ |
D | subset_test.py | 594 self.assertGreater(font["glyf"]["A"].numberOfContours, 0) 595 self.assertGreater(font["glyf"]["B"].numberOfContours, 0) 616 self.assertEqual(glyf["A"].numberOfContours, 0) 617 self.assertGreater(glyf["B"].numberOfContours, 0) 960 assert all(glyf[g].numberOfContours == 0 for g in subset_font.getGlyphOrder())
|
/external/fonttools/Tests/ttLib/tables/ |
D | _g_l_y_f_test.py | 363 self.assertEqual(font["glyf"][".notdef"].numberOfContours, 0) 364 self.assertEqual(font["glyf"]["space"].numberOfContours, 0)
|
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 1613 stbtt_int16 numberOfContours; in stbtt_IsGlyphEmpty() local 1619 numberOfContours = ttSHORT(info->data + g); in stbtt_IsGlyphEmpty() 1620 return numberOfContours == 0; in stbtt_IsGlyphEmpty() 1641 stbtt_int16 numberOfContours; in stbtt__GetGlyphShapeTT() local 1652 numberOfContours = ttSHORT(data + g); in stbtt__GetGlyphShapeTT() 1654 if (numberOfContours > 0) { in stbtt__GetGlyphShapeTT() 1660 ins = ttUSHORT(data + g + 10 + numberOfContours * 2); in stbtt__GetGlyphShapeTT() 1661 points = data + g + 10 + numberOfContours * 2 + 2 + ins; in stbtt__GetGlyphShapeTT() 1663 n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); in stbtt__GetGlyphShapeTT() 1665 m = n + 2*numberOfContours; // a loose bound on how many vertices we might need in stbtt__GetGlyphShapeTT() [all …]
|
/external/fonttools/Tests/varLib/instancer/ |
D | instancer_test.py | 1348 a.numberOfContours = 1 1351 b.numberOfContours = -1 1356 c.numberOfContours = 0
|
/external/fonttools/Lib/fontTools/varLib/ |
D | __init__.py | 237 if allData[defaultMasterIndex][1].numberOfContours != 0: 241 d if d is not None and d[1].numberOfContours != 0 else None
|
D | mutator.py | 325 elif glyph.numberOfContours > 0:
|
/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | __init__.py | 1071 elif glyph.numberOfContours > 0:
|