/external/fonttools/Lib/fontTools/ttLib/ |
D | removeOverlaps.py | 116 glyphNames: Optional[Iterable[str]] = None, 145 if glyphNames is None: 146 glyphNames = font.getGlyphOrder() 151 glyphNames = sorted( 152 glyphNames, 161 for glyphName in glyphNames: 184 glyphNames = args[2:] or None 187 removeOverlaps(f, glyphNames)
|
D | ttFont.py | 537 glyphNames = sorted(self.getGlyphOrder()) 538 return glyphNames
|
/external/skia/src/pdf/ |
D | SkPDFType1Font.cpp | 260 const std::vector<SkString>* glyphNames = canon->fType1GlyphNames.find(fontID); in type_1_glyphnames() local 261 if (!glyphNames) { in type_1_glyphnames() 264 glyphNames = canon->fType1GlyphNames.set(fontID, std::move(names)); in type_1_glyphnames() 266 SkASSERT(glyphNames); in type_1_glyphnames() 267 return *glyphNames; in type_1_glyphnames() 285 const std::vector<SkString>& glyphNames = type_1_glyphnames(doc, typeface); in SkPDFEmitType1Font() local 323 SkASSERT(glyphNames.size() > lastGlyphID); in SkPDFEmitType1Font() 325 encDiffs->appendName(glyphNames[0].isEmpty() ? unknown : glyphNames[0]); in SkPDFEmitType1Font() 327 encDiffs->appendName(glyphNames[gID].isEmpty() ? unknown : glyphNames[gID]); in SkPDFEmitType1Font()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | T_S_I__5.py | 25 glyphNames = ttFont.getGlyphOrder() 27 for i in range(len(glyphNames)): 28 a.append(self.glyphGrouping.get(glyphNames[i], 0))
|
D | _h_d_m_x.py | 74 glyphNames = ttFont.getGlyphOrder()[:] 75 glyphNames.sort() 76 maxNameLen = max(map(len, glyphNames)) 81 for glyphName in glyphNames:
|
D | T_S_I__1.py | 85 glyphNames = ttFont.getGlyphOrder() 88 for i in range(len(glyphNames)): 91 name = glyphNames[i]
|
D | V_O_R_G_.py | 67 glyphNames = self.VOriginRecords.keys() 68 for glyphName in glyphNames:
|
D | _g_l_y_f.py | 137 glyphNames = ttFont.getGlyphNames() 143 numGlyphs = len(glyphNames) 147 for glyphName in glyphNames:
|
/external/skqp/src/pdf/ |
D | SkPDFFont.cpp | 452 const std::vector<SkString>* glyphNames = canon->fType1GlyphNames.find(fontID); in type_1_glyphnames() local 453 if (!glyphNames) { in type_1_glyphnames() 456 glyphNames = canon->fType1GlyphNames.set(fontID, std::move(names)); in type_1_glyphnames() 458 SkASSERT(glyphNames); in type_1_glyphnames() 459 return *glyphNames; in type_1_glyphnames() 476 const std::vector<SkString> glyphNames = type_1_glyphnames(doc, typeface); in emit_subset_type1() local 508 SkASSERT(glyphNames.size() > lastGlyphID); in emit_subset_type1() 510 encDiffs->appendName(glyphNames[0].isEmpty() ? unknown : glyphNames[0]); in emit_subset_type1() 512 encDiffs->appendName(glyphNames[gID].isEmpty() ? unknown : glyphNames[gID]); in emit_subset_type1()
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | glifLib.py | 513 def getUnicodes(self, glyphNames=None): argument 521 if glyphNames is None: 522 glyphNames = self.contents.keys() 523 for glyphName in glyphNames: 528 def getComponentReferences(self, glyphNames=None): argument 536 if glyphNames is None: 537 glyphNames = self.contents.keys() 538 for glyphName in glyphNames: 543 def getImageReferences(self, glyphNames=None): argument 551 if glyphNames is None: [all …]
|
/external/fonttools/Tests/feaLib/ |
D | parser_test.py | 273 self.parse("@bad = [a b ccc];", glyphNames=("a", "b", "ccc")) 276 self.parse("@bad = [a b ccc];", glyphNames=("a", "b")) 341 glyphNames = "A-foo.sc B-foo.sc C-foo.sc".split() 342 [gc] = self.parse("@range = [A-foo.sc-C-foo.sc];", glyphNames).statements 356 glyphNames = () 358 [gc] = self.parse("@class = [A-foo.sc B-foo.sc C D];", glyphNames).statements 367 glyphNames = ( 369 [gc] = self.parse("@range = [A-foo.sc-C-foo.sc];", glyphNames).statements 373 glyphNames = "A B C A-B B-C".split() 378 self.parse, r"@bad = [A-B-C];", glyphNames) [all …]
|
D | builder_test.py | 162 p = parser(self.getpath(fname), glyphNames=font.getGlyphOrder())
|
/external/fonttools/Tests/ttLib/tables/ |
D | _g_l_y_f_test.py | 356 glyphNames = [".notdef", "space"] 357 font.setGlyphOrder(glyphNames) 359 font["loca"].locations = [0] * (len(glyphNames) + 1)
|
/external/fonttools/Lib/fontTools/designspaceLib/ |
D | __init__.py | 206 def processRules(rules, location, glyphNames): argument 213 for name in glyphNames: 223 glyphNames = newNames 225 return glyphNames
|
/external/fonttools/Lib/fontTools/feaLib/ |
D | parser.py | 45 self, featurefile, glyphNames=(), followIncludes=True, includeDir=None, **kwargs argument 52 if glyphNames: 56 glyphNames = kwargs.pop("glyphMap") 63 self.glyphNames_ = set(glyphNames)
|
/external/fonttools/Doc/source/designspaceLib/ |
D | readme.rst | 309 - ``processRules(rules, location, glyphNames)``: Apply all the rules to the list 310 of glyphNames. Return a new list of glyphNames with substitutions applied.
|
/external/fonttools/ |
D | NEWS.rst | 318 - [feaLib] If Parser is initialized without a ``glyphNames`` parameter, it cannot 1201 - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
|