示例#1
0
    def getGlyphName(self, codePoint):
        #        if codePoint is None:
        #            return  '.notdef'

        import UnicodeCharacterNames
        name = UnicodeCharacterNames.getUnicodeCharacterName(codePoint)
        return name
示例#2
0
    def getGlyphName(self, codePoint):
        #        if codePoint is None:
        #            return  '.notdef'

        import UnicodeCharacterNames

        name = UnicodeCharacterNames.getUnicodeCharacterName(codePoint)
        return name
示例#3
0
 def insertGlyphDerivedFromGlyph(self, codePoint, contours, srcGlyph):
     import UnicodeCharacterNames
     name = UnicodeCharacterNames.getUnicodeCharacterName(codePoint)
     glyph = TFSGlyph(self.rffont.newGlyph(name))
     glyph.updateDerivedFromGlyph(codePoint, contours, srcGlyph)
 def insertGlyphDerivedFromGlyph(self, codePoint, contours, srcGlyph):
     import UnicodeCharacterNames
     name = UnicodeCharacterNames.getUnicodeCharacterName(codePoint)
     glyph = TFSGlyph(self.rffont.newGlyph(name))
     glyph.updateDerivedFromGlyph(codePoint, contours, srcGlyph)