Пример #1
0
 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)
Пример #2
0
 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)
Пример #3
0
 def __init__(self, name):
     self.this = mingc.newSWFBrowserFont(name)
     self.name = name
Пример #4
0
 def __init__(self, name):
    self.this = mingc.newSWFBrowserFont(name)
    self.name = name