/external/fonttools/Tests/pens/ |
D | ttGlyphPen_test.py | 22 glyphSet = font.getGlyphSet() 27 oldGlyph = glyphSet[name] 83 glyphSet = {} 84 pen = TTGlyphPen(glyphSet) 90 glyphSet[componentName] = _TestGlyph(pen.glyph()) 143 glyphSet = {} 144 pen = TTGlyphPen(glyphSet) 150 glyphSet[componentName] = _TestGlyph(pen.glyph()) 164 glyphSet = {} 165 pen = TTGlyphPen(glyphSet) [all …]
|
D | basePen_test.py | 11 BasePen.__init__(self, glyphSet={}) 137 pen.glyphSet["oslash"] = _TestGlyph()
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | ast.py | 159 def glyphSet(self): member in GlyphName 174 def glyphSet(self): member in GlyphClass 210 self.glyphs.extend(gc.glyphSet()) 221 def glyphSet(self): member in GlyphClassName 222 return tuple(self.glyphclass.glyphSet()) 235 def glyphSet(self): member in MarkClassName 236 return self.markClass.glyphSet() 364 def glyphSet(self): member in GlyphClassDefinition 365 return tuple(self.glyphs.glyphSet()) 381 base = self.baseGlyphs.glyphSet() if self.baseGlyphs else tuple() [all …]
|
D | parser.py | 722 if len(old) != 1 or len(old[0].glyphSet()) != 1: 741 glyphs = list(old[0].glyphSet()) 742 replacements = list(new[0].glyphSet()) 760 len(old) == 1 and len(old[0].glyphSet()) == 1 and 761 len(new) > 1 and max([len(n.glyphSet()) for n in new]) == 1 and 764 old_prefix, tuple(old[0].glyphSet())[0], old_suffix, 765 tuple([list(n.glyphSet())[0] for n in new]), 772 len(new[0].glyphSet()) == 1 and 776 list(new[0].glyphSet())[0], forceChain=hasMarks, 795 glyphs = sorted(list(old[0].glyphSet())) [all …]
|
/external/fonttools/Lib/fontTools/voltLib/ |
D | ast.py | 65 def glyphSet(self, groups=None): member in GroupDefinition 75 self.glyphs_ = self.enum.glyphSet(groups) 85 def glyphSet(self): member in GlyphName 96 for e in self.glyphSet(): 99 def glyphSet(self, groups=None): member in Enum 103 glyphs.extend(element.glyphSet(groups)) 105 glyphs.extend(element.glyphSet()) 116 def glyphSet(self, groups=None): member in GroupName 119 self.glyphs_ = group.glyphSet(groups) 135 def glyphSet(self): member in Range
|
/external/fonttools/Tests/ttLib/tables/ |
D | _g_l_y_f_test.py | 227 glyphSet = {} 228 pen_dummy = TTGlyphPen(glyphSet) 230 glyphSet["A"] = glyph_dummy 231 glyphSet["B"] = glyph_dummy 232 pen_A = TTGlyphPen(glyphSet) 234 pen_B = TTGlyphPen(glyphSet) 238 glyphSet["A"] = glyph_A 239 glyphSet["B"] = glyph_B 241 glyph_A.getCoordinates(glyphSet)
|
/external/fonttools/Lib/fontTools/pens/ |
D | ttGlyphPen.py | 38 def __init__(self, glyphSet, handleOverflowingTransforms=True): argument 39 self.glyphSet = glyphSet 112 if glyphName not in self.glyphSet: 121 self.glyphSet[glyphName].draw(tpen)
|
D | basePen.py | 165 def __init__(self, glyphSet): argument 170 self.glyphSet = glyphSet 177 glyph = self.glyphSet[glyphName] 196 def __init__(self, glyphSet=None): argument 197 super(BasePen, self).__init__(glyphSet)
|
D | cocoaPen.py | 11 def __init__(self, glyphSet, path=None): argument 12 BasePen.__init__(self, glyphSet)
|
D | wxPen.py | 11 def __init__(self, glyphSet, path=None): argument 12 BasePen.__init__(self, glyphSet)
|
D | qtPen.py | 11 def __init__(self, glyphSet, path=None): argument 12 BasePen.__init__(self, glyphSet)
|
D | reportLabPen.py | 14 def __init__(self, glyphSet, path=None): argument 15 BasePen.__init__(self, glyphSet)
|
D | t2CharStringPen.py | 47 def __init__(self, width, glyphSet, roundTolerance=0.5, CFF2=False): argument 48 super(T2CharStringPen, self).__init__(glyphSet)
|
D | boundsPen.py | 25 def __init__(self, glyphSet, ignoreSinglePoints=False): argument 26 BasePen.__init__(self, glyphSet)
|
D | svgPathPen.py | 12 def __init__(self, glyphSet): argument 13 BasePen.__init__(self, glyphSet)
|
D | pointInsidePen.py | 43 def __init__(self, glyphSet, testPoint, evenOdd=False): argument 44 BasePen.__init__(self, glyphSet)
|
/external/fonttools/Tests/feaLib/ |
D | parser_test.py | 19 return ' '.join(f(g.glyphSet()) for g in glyphs) 25 b.extend(a.glyphSet()) 28 c.extend(a.glyphSet()) 268 self.assertEqual(gc.glyphSet(), ("endash", "emdash", "figuredash")) 290 self.assertEqual(gc.glyphSet(), tuple()) 294 self.assertEqual(foo.glyphSet(), ("a", "b")) 295 self.assertEqual(bar.glyphSet(), ("a", "b")) 303 self.assertEqual(doc.statements[-1].glyphSet(), 309 self.assertEqual(gc.glyphSet(), ("cid00999", "cid01000", "cid01001")) 320 self.assertEqual(gc.glyphSet(), ("X.swash", "Y.swash", "Z.swash")) [all …]
|
/external/fonttools/Tests/ufoLib/ |
D | UFO3_test.py | 4370 glyphSet = reader.getGlyphSet() 4372 glyphSet.readLayerInfo(info) 4384 glyphSet = reader.getGlyphSet() 4386 glyphSet.readLayerInfo(info) 4399 glyphSet = reader.getGlyphSet() 4401 self.assertRaises(UFOLibError, glyphSet.readLayerInfo, info) 4411 glyphSet = reader.getGlyphSet() 4413 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, info) 4421 glyphSet = reader.getGlyphSet() 4422 self.assertRaises(GlifLibError, glyphSet.readLayerInfo, TestLayerInfoObject()) [all …]
|
D | glifLib_test.py | 87 def myGlyphNameToFileName(glyphName, glyphSet): argument 88 return "prefix" + glyphNameToFileName(glyphName, glyphSet)
|
/external/fonttools/Lib/fontTools/subset/ |
D | cff.py | 52 glyphSet = font.CharStrings 58 if g not in glyphSet: 60 gl = glyphSet[g]
|
/external/fonttools/Tests/voltLib/ |
D | parser_test.py | 133 self.assertEqual((def_group.name, def_group.enum.glyphSet()), 212 self.assertEqual((def_group2.name, items[0].glyphSet(), items[1].group), 231 self.assertEqual((def_group.name, def_group.enum.glyphSet()),
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | glifLib.py | 70 def __init__(self, glyphName, glyphSet): argument 72 self.glyphSet = glyphSet 85 self.glyphSet.readGlyph(self.glyphName, self, pointPen)
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 383 GLYPHSET* glyphSet = in populate_glyph_to_unicode() local 385 if (GetFontUnicodeRanges(fontHdc, glyphSet) != glyphSetBufferSize) { in populate_glyph_to_unicode() 389 for (DWORD i = 0; i < glyphSet->cRanges; ++i) { in populate_glyph_to_unicode() 394 int count = glyphSet->ranges[i].cGlyphs; in populate_glyph_to_unicode() 399 chars[j] = glyphSet->ranges[i].wcLow + j; in populate_glyph_to_unicode()
|
/external/skqp/src/ports/ |
D | SkFontHost_win.cpp | 382 GLYPHSET* glyphSet = in populate_glyph_to_unicode() local 384 if (GetFontUnicodeRanges(fontHdc, glyphSet) != glyphSetBufferSize) { in populate_glyph_to_unicode() 388 for (DWORD i = 0; i < glyphSet->cRanges; ++i) { in populate_glyph_to_unicode() 393 int count = glyphSet->ranges[i].cGlyphs; in populate_glyph_to_unicode() 398 chars[j] = glyphSet->ranges[i].wcLow + j; in populate_glyph_to_unicode()
|
/external/fonttools/Lib/fontTools/varLib/ |
D | cff.py | 299 glyphSet=None, CFF2=True,
|