• Home
  • Raw
  • Download

Lines Matching refs:glyphName

92 	def __init__(self, glyphName, glyphSet):  argument
93 self.glyphName = glyphName
107 self.glyphSet.readGlyph(self.glyphName, self, pointPen)
321 def getGLIF(self, glyphName): argument
333 fileName = self.contents[glyphName]
339 "does not exist on %s" % (fileName, glyphName, self.fs)
342 def getGLIFModificationTime(self, glyphName): argument
350 fileName = self.contents[glyphName]
355 def readGlyph(self, glyphName, glyphObject=None, pointPen=None, validate=None): argument
391 text = self.getGLIF(glyphName)
396 …def writeGlyph(self, glyphName, glyphObject=None, drawPointsFunc=None, formatVersion=None, validat… argument
455 fileName = self.contents.get(glyphName)
461 fileName = self.glyphNameToFileName(glyphName, self._existingFileNames.values())
462 self.contents[glyphName] = fileName
465 self._reverseContents[fileName.lower()] = glyphName
467 glyphName,
481 def deleteGlyph(self, glyphName): argument
485 fileName = self.contents[glyphName]
490 del self._reverseContents[self.contents[glyphName].lower()]
491 del self.contents[glyphName]
498 def has_key(self, glyphName): argument
499 return glyphName in self.contents
506 def __getitem__(self, glyphName): argument
507 if glyphName not in self.contents:
508 raise KeyError(glyphName)
509 return self.glyphClass(glyphName, self)
523 for glyphName in glyphNames:
524 text = self.getGLIF(glyphName)
525 unicodes[glyphName] = _fetchUnicodes(text)
538 for glyphName in glyphNames:
539 text = self.getGLIF(glyphName)
540 components[glyphName] = _fetchComponentBases(text)
553 for glyphName in glyphNames:
554 text = self.getGLIF(glyphName)
555 images[glyphName] = _fetchImageFileName(text)
573 def glyphNameToFileName(glyphName, existingFileNames): argument
579 return userNameToFileName(glyphName, existing=existingFileNames, suffix=".glif")
656 glyphName, argument
671 if validate and not isinstance(glyphName, str):
673 if validate and len(glyphName) == 0:
675 glyphAttrs = OrderedDict([("name", glyphName), ("format", repr(formatVersion.major))])
719 glyphName, argument
761 glyphName,
1184 glyphName = root.get("name")
1185 if validate and not glyphName:
1187 if glyphName and glyphObject is not None:
1188 _relaxedSetattr(glyphObject, "name", glyphName)
1749 def addComponent(self, glyphName, transformation, identifier=None, **kwargs): argument
1750 attrs = OrderedDict([("base", glyphName)])