fontTools.ttLib.xmlImport
index
/code/fontTools/Lib/fontTools/ttLib/xmlImport.py

 
Modules
       
os
fontTools.ttLib

 
Classes
       
exceptions.Exception
TTXParseError
ExpatParser
ProgressPrinter

 
class ExpatParser
     Methods defined here:
__init__(self, ttFont, fileName, progress=None)
characterDataHandler(self, data)
endElementHandler(self, name)
parse(self)
parseFile(self, file)
startElementHandler(self, name, attrs)

 
class ProgressPrinter
     Methods defined here:
__init__(self, title, maxval=100)
increment(self, val=1)
set(self, val, maxval=None)
setLabel(self, text)

 
class TTXParseError(exceptions.Exception)
     Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
Functions
       
importXML(ttFont, fileName, progress=None)
Import a TTX file (an XML-based text format), so as to recreate
a font object.

 
Data
        BUFSIZE = 16384