Home
last modified time | relevance | path

Searched refs:numberOfContours (Results 1 – 17 of 17) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py152 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.py55 if g.numberOfContours == 0:
57 if g.numberOfContours < 0 and not hasattr(g, "yMax"):
D_h_h_e_a.py69 if g.numberOfContours == 0:
71 if g.numberOfContours < 0 and not hasattr(g, "xMax"):
D_m_a_x_p.py77 if g.numberOfContours:
84 if g.numberOfContours > 0:
/external/fonttools/Lib/fontTools/pens/
DttGlyphPen.py168 glyph.numberOfContours = -1
170 glyph.numberOfContours = len(glyph.endPtsOfContours)
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh397 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/
Dwoff2.py754 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"
DremoveOverlaps.py89 glyph.numberOfContours > 0
/external/skia/src/sfnt/
DSkOTTable_glyf.h67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
/external/skqp/src/sfnt/
DSkOTTable_glyf.h67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
/external/fonttools/Tests/subset/
Dsubset_test.py594 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.py363 self.assertEqual(font["glyf"][".notdef"].numberOfContours, 0)
364 self.assertEqual(font["glyf"]["space"].numberOfContours, 0)
/external/mesa3d/src/imgui/
Dimstb_truetype.h1613 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/
Dinstancer_test.py1348 a.numberOfContours = 1
1351 b.numberOfContours = -1
1356 c.numberOfContours = 0
/external/fonttools/Lib/fontTools/varLib/
D__init__.py237 if allData[defaultMasterIndex][1].numberOfContours != 0:
241 d if d is not None and d[1].numberOfContours != 0 else None
Dmutator.py325 elif glyph.numberOfContours > 0:
/external/fonttools/Lib/fontTools/varLib/instancer/
D__init__.py1071 elif glyph.numberOfContours > 0: