Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/
DremoveOverlaps.py116 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)
DttFont.py537 glyphNames = sorted(self.getGlyphOrder())
538 return glyphNames
/external/skia/src/pdf/
DSkPDFType1Font.cpp260 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/
DT_S_I__5.py25 glyphNames = ttFont.getGlyphOrder()
27 for i in range(len(glyphNames)):
28 a.append(self.glyphGrouping.get(glyphNames[i], 0))
D_h_d_m_x.py74 glyphNames = ttFont.getGlyphOrder()[:]
75 glyphNames.sort()
76 maxNameLen = max(map(len, glyphNames))
81 for glyphName in glyphNames:
DT_S_I__1.py85 glyphNames = ttFont.getGlyphOrder()
88 for i in range(len(glyphNames)):
91 name = glyphNames[i]
DV_O_R_G_.py67 glyphNames = self.VOriginRecords.keys()
68 for glyphName in glyphNames:
D_g_l_y_f.py137 glyphNames = ttFont.getGlyphNames()
143 numGlyphs = len(glyphNames)
147 for glyphName in glyphNames:
/external/skqp/src/pdf/
DSkPDFFont.cpp452 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/
DglifLib.py513 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/
Dparser_test.py273 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 …]
Dbuilder_test.py162 p = parser(self.getpath(fname), glyphNames=font.getGlyphOrder())
/external/fonttools/Tests/ttLib/tables/
D_g_l_y_f_test.py356 glyphNames = [".notdef", "space"]
357 font.setGlyphOrder(glyphNames)
359 font["loca"].locations = [0] * (len(glyphNames) + 1)
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py206 def processRules(rules, location, glyphNames): argument
213 for name in glyphNames:
223 glyphNames = newNames
225 return glyphNames
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py45 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/
Dreadme.rst309 - ``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/
DNEWS.rst318 - [feaLib] If Parser is initialized without a ``glyphNames`` parameter, it cannot
1201 - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable