fontTools
Library
afmLib: Read/write Adobe Font Metrics files
agl: Interface to the Adobe Glyph List
cffLib: read/write Adobe CFF fonts
colorLib.builder: Build COLR/CPAL tables from scratch
cu2qu: Cubic to quadratic curve conversion
designspaceLib
encodings: Support for OpenType-specific encodings
feaLib: Read/write OpenType feature files
merge: Merge multiple fonts into one
misc: Miscellaneous libraries helpful for font engineering
arrayTools: Various array and rectangle tools
bezierTools: Routines for working with Bezier curves
classifyTools
cliTools: Utilities for command-line interfaces and console scripts
eexec: PostScript charstring encryption and decryption routines
encodingTools
etree
filenames: Implements UFO User Name to File Name Algorithm
fixedTools: Tools for working with fixed-point numbers
intTools: Tools for working with integer values
loggingTools: tools for interfacing with the Python logging package
macCreatorType: Functions for working with Mac file attributes
macRes: Tools for reading Mac resource forks
plistlib: Tools for handling .plist files
psCharStrings
psLib
psOperators
sstruct
symfont
testTools
textTools
timeTools
transform
xmlReader
xmlWriter
mtiLib: Read Monotype FontDame source files
otlLib: Routines for working with OpenType Layout
pens
subset
svgLib
t1Lib
tfmLib: Read TeX Font Metrics files
ttLib
ttx
ufoLib
unicode
unicodedata
varLib: OpenType Variation Support
voltLib
fontTools
»
misc: Miscellaneous libraries helpful for font engineering
»
xmlReader
View page source
xmlReader
class
fontTools.misc.xmlReader.
ProgressPrinter
(
title
,
maxval
=
100
)
[source]
increment
(
val
=
1
)
[source]
set
(
val
,
maxval
=
None
)
[source]
setLabel
(
text
)
[source]
exception
fontTools.misc.xmlReader.
TTXParseError
[source]
args
with_traceback
(
)
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
class
fontTools.misc.xmlReader.
XMLReader
(
fileOrPath
,
ttFont
,
progress
=
None
,
quiet
=
None
,
contentOnly
=
False
)
[source]
close
(
)
[source]
read
(
rootless
=
False
)
[source]