Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__5.py27 glyphNames = ttFont.getGlyphOrder()
29 for i in range(len(glyphNames)):
30 a.append(self.glyphGrouping.get(glyphNames[i], 0))
D_h_d_m_x.py79 glyphNames = ttFont.getGlyphOrder()[:]
80 glyphNames.sort()
81 maxNameLen = max(map(len, glyphNames))
86 for glyphName in glyphNames:
DC_O_L_R_.py57 glyphNames = self.ColorLayers.keys()
58 for glyphName in glyphNames:
83 glyphNames = self.ColorLayers.keys()
84 for glyphName in glyphNames:
DT_S_I__1.py86 glyphNames = ttFont.getGlyphOrder()
89 for i in range(len(glyphNames)):
92 name = glyphNames[i]
DV_O_R_G_.py69 glyphNames = self.VOriginRecords.keys()
70 for glyphName in glyphNames:
D_g_l_y_f.py129 glyphNames = ttFont.getGlyphNames()
135 numGlyphs = len(glyphNames)
139 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/skia/src/pdf/
DSkPDFFont.cpp448 const std::vector<SkString>* glyphNames = canon->fType1GlyphNames.find(fontID); in type_1_glyphnames() local
449 if (!glyphNames) { in type_1_glyphnames()
452 glyphNames = canon->fType1GlyphNames.set(fontID, std::move(names)); in type_1_glyphnames()
454 SkASSERT(glyphNames); in type_1_glyphnames()
455 return *glyphNames; in type_1_glyphnames()
472 const std::vector<SkString> glyphNames = type_1_glyphnames(doc, typeface); in emit_subset_type1() local
504 SkASSERT(glyphNames.size() > lastGlyphID); in emit_subset_type1()
506 encDiffs->appendName(glyphNames[0].isEmpty() ? unknown : glyphNames[0]); in emit_subset_type1()
508 encDiffs->appendName(glyphNames[gID].isEmpty() ? unknown : glyphNames[gID]); in emit_subset_type1()
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py460 def getUnicodes(self, glyphNames=None): argument
468 if glyphNames is None:
469 glyphNames = self.contents.keys()
470 for glyphName in glyphNames:
475 def getComponentReferences(self, glyphNames=None): argument
483 if glyphNames is None:
484 glyphNames = self.contents.keys()
485 for glyphName in glyphNames:
490 def getImageReferences(self, glyphNames=None): argument
498 if glyphNames is None:
[all …]
/external/fonttools/Tests/feaLib/
Dparser_test.py328 glyphNames = "A-foo.sc B-foo.sc C-foo.sc".split()
329 [gc] = self.parse("@range = [A-foo.sc-C-foo.sc];", glyphNames).statements
341 glyphNames = (
343 [gc] = self.parse("@range = [A-foo.sc-C-foo.sc];", glyphNames).statements
347 glyphNames = "A B C A-B B-C".split()
352 self.parse, r"@bad = [A-B-C];", glyphNames)
1670 def parse(self, text, glyphNames=GLYPHNAMES, followIncludes=True): argument
1672 p = Parser(featurefile, glyphNames, followIncludes=followIncludes)
Dbuilder_test.py145 p = parser(self.getpath(fname), glyphNames=font.getGlyphOrder())
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py185 def processRules(rules, location, glyphNames): argument
192 for name in glyphNames:
202 glyphNames = newNames
204 return glyphNames
/external/fonttools/Lib/fontTools/ttLib/
DttFont.py536 glyphNames = sorted(self.getGlyphOrder())
537 return glyphNames
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py22 def __init__(self, featurefile, glyphNames=(), followIncludes=True, argument
27 if glyphNames:
30 glyphNames = kwargs.pop("glyphMap")
36 self.glyphNames_ = set(glyphNames)
/external/fonttools/
DNEWS.rst524 - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
DPKG-INFO941 - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO941 - [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable