Example #1
0
 def _fontshellNewFont(familyName=None, styleName=None, showInterface=True):
     font = fontshell.RFont(showInterface=showInterface)
     if familyName is not None:
         font.info.familyName = familyName
     if styleName is not None:
         font.info.styleName = styleName
     return font
Example #2
0
 def _fontshellRFont(pathOrObject=None, showInterface=True):
     return fontshell.RFont(pathOrObject=pathOrObject, showInterface=showInterface)