Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py141 if glyph.numberOfContours:
355 self.numberOfContours = 0
371 self.numberOfContours = 0
378 if self.numberOfContours == 0:
392 if self.numberOfContours == 0:
410 for i in range(self.numberOfContours):
427 haveInstructions = self.numberOfContours > 0
440 if self.numberOfContours < 0:
442 self.numberOfContours = self.numberOfContours + 1
466 if self.numberOfContours > 0:
[all …]
D_h_h_e_a.py58 if g.numberOfContours == 0:
60 if g.numberOfContours < 0 and not hasattr(g, "xMax"):
D_v_h_e_a.py57 if g.numberOfContours == 0:
59 if g.numberOfContours < 0 and not hasattr(g, "yMax"):
D_m_a_x_p.py79 if g.numberOfContours:
86 if g.numberOfContours > 0:
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh124 HBINT16 numberOfContours; /* If the number of contours is member
210 if (glyph_header.numberOfContours < 0) in get_iterator()
293 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in remove_padding()
396 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in get_instruction_offsets()
/external/fonttools/Lib/fontTools/pens/
DttGlyphPen.py152 glyph.numberOfContours = -1
154 glyph.numberOfContours = len(glyph.endPtsOfContours)
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py690 glyph.numberOfContours = self.nContourStream[glyphID]
691 if glyph.numberOfContours == 0:
718 for i in range(glyph.numberOfContours):
818 self.nContourStream += struct.pack(">h", glyph.numberOfContours)
819 if glyph.numberOfContours == 0:
855 assert glyph.numberOfContours != 0, "empty glyph has no bbox"
/external/fonttools/Tests/subset/
Dsubset_test.py495 self.assertGreater(font["glyf"]["A"].numberOfContours, 0)
496 self.assertGreater(font["glyf"]["B"].numberOfContours, 0)
517 self.assertGreater(glyf["A"].numberOfContours, 0)
518 self.assertEqual(glyf["B"].numberOfContours, 0)
/external/u-boot/drivers/video/
Dstb_truetype.h1222 stbtt_int16 numberOfContours; in stbtt_IsGlyphEmpty() local
1225 numberOfContours = ttSHORT(info->data + g); in stbtt_IsGlyphEmpty()
1226 return numberOfContours == 0; in stbtt_IsGlyphEmpty()
1247 stbtt_int16 numberOfContours; in stbtt_GetGlyphShape() local
1258 numberOfContours = ttSHORT(data + g); in stbtt_GetGlyphShape()
1260 if (numberOfContours > 0) { in stbtt_GetGlyphShape()
1266 ins = ttUSHORT(data + g + 10 + numberOfContours * 2); in stbtt_GetGlyphShape()
1267 points = data + g + 10 + numberOfContours * 2 + 2 + ins; in stbtt_GetGlyphShape()
1269 n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); in stbtt_GetGlyphShape()
1271 m = n + 2*numberOfContours; // a loose bound on how many vertices we might need in stbtt_GetGlyphShape()
[all …]
/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/Lib/fontTools/varLib/
D__init__.py256 control = (glyph.numberOfContours,[c.glyphName for c in glyph.components])
260 control = (glyph.numberOfContours,)+allData[1:]
292 elif glyph.numberOfContours is 0:
Dmutator.py322 elif glyph.numberOfContours > 0: