def __init__(self, name): if name[-4:] == '.fdb': self.browserfont = 0 self.this = mingc.loadSWFFontFromFile(open(name, "rb")) else: self.browserfont = 1 self.this = mingc.newSWFBrowserFont(name)
def __init__(self, name): self.this = mingc.newSWFBrowserFont(name) self.name = name