Lines Matching refs:glyphName
509 glyphName = self._makeGlyphName(min(reversecmap[tempName]))
510 numUses = useCount[glyphName] = useCount.get(glyphName, 0) + 1
512 glyphName = "%s.alt%d" % (glyphName, numUses - 1)
513 glyphOrder[i] = glyphName
558 glyphName = self.VIDDict[glyphID]
560 glyphName ="glyph%.5d" % glyphID
562 self.reverseVIDDict[glyphName] = glyphID
563 self.VIDDict[glyphID] = glyphName
564 return glyphName
566 def getGlyphID(self, glyphName, requireReal=False): argument
571 if glyphName not in d:
572 if glyphName in glyphOrder:
574 return self.getGlyphID(glyphName)
577 raise KeyError(glyphName)
580 if glyphName[:5] == "glyph":
582 return int(glyphName[5:])
584 raise KeyError(glyphName)
588 glyphID = self.reverseVIDDict[glyphName]
591 if glyphName[:5] == "glyph":
593 glyphID = int(glyphName[5:])
599 self.reverseVIDDict[glyphName] = glyphID
600 self.VIDDict[glyphID] = glyphName
603 glyphID = d[glyphName]
604 if glyphName != glyphOrder[glyphID]:
606 return self.getGlyphID(glyphName)
720 def has_key(self, glyphName): argument
721 return glyphName in self._glyphs
725 def __getitem__(self, glyphName): argument
726 horizontalMetrics = self._hmtx[glyphName]
727 verticalMetrics = self._vmtx[glyphName] if self._vmtx else None
729 self, self._glyphs[glyphName], horizontalMetrics, verticalMetrics)
734 def get(self, glyphName, default=None): argument
736 return self[glyphName]
816 glyphName = glyphOrder[i]
817 writer.simpletag("GlyphID", id=i, name=glyphName)