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
def _fontshellRFont(pathOrObject=None, showInterface=True): return fontshell.RFont(pathOrObject=pathOrObject, showInterface=showInterface)