Exemplo n.º 1
0
    def getGlyphName(self, codePoint):
        #        if codePoint is None:
        #            return  '.notdef'

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

        import UnicodeCharacterNames

        name = UnicodeCharacterNames.getUnicodeCharacterName(codePoint)
        return name
Exemplo n.º 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)
Exemplo n.º 4
0
 def insertGlyphDerivedFromGlyph(self, codePoint, contours, srcGlyph):
     import UnicodeCharacterNames
     name = UnicodeCharacterNames.getUnicodeCharacterName(codePoint)
     glyph = TFSGlyph(self.rffont.newGlyph(name))
     glyph.updateDerivedFromGlyph(codePoint, contours, srcGlyph)