Expand description
Port of fontTools.misc: low-level helpers shared by the other crates, and of
the small top-level modules fontTools.agl, fontTools.afmLib and
fontTools.tfmLib.
| fontoxide | fontTools |
|---|---|
afm_lib | fontTools.afmLib |
agl | fontTools.agl |
argparse | Python’s argparse, as the command lines use it |
array_tools | fontTools.misc.arrayTools |
bezier_tools | fontTools.misc.bezierTools |
classify_tools | fontTools.misc.classifyTools |
cli_tools | fontTools.misc.cliTools |
eexec | fontTools.misc.eexec |
encoding_tools | fontTools.misc.encodingTools |
etree | fontTools.misc.etree (lxml serialization) |
filenames | fontTools.misc.filenames |
fixed_tools | fontTools.misc.fixedTools |
ift_sparse_bit_set | fontTools.misc.iftSparseBitSet |
int_tools | fontTools.misc.intTools |
mac_res | fontTools.misc.macRes |
plistlib | fontTools.misc.plistlib |
ps_lib | fontTools.misc.psLib |
ps_operators | fontTools.misc.psOperators |
round_tools | fontTools.misc.roundTools |
text_tools | fontTools.misc.textTools |
tfm_lib | fontTools.tfmLib |
time_tools | fontTools.misc.timeTools |
transform | fontTools.misc.transform |
tree_tools | fontTools.misc.treeTools |
xml_writer | fontTools.misc.xmlWriter |
xml_reader | fontTools.misc.xmlReader |
py reproduces the Python formatting rules that fontTools output relies on,
and complex Python’s complex arithmetic, which the curve math uses.
Re-exports§
pub use text_tools::Tag;
Modules§
- afm_lib
- Port of
fontTools.afmLib: reading and writing AFM (Adobe Font Metrics) files. - agl
- Port of
fontTools.agl: the Adobe Glyph List. - argparse
- The part of Python’s
argparse(CPython 3.13) that the fontTools command lines use: parsing the arguments asArgumentParser.parse_argsdoes, with its error messages. - array_
tools - Rectangles and point arrays (
fontTools.misc.arrayTools). - bezier_
tools - Bézier curve math (
fontTools.misc.bezierTools). - classify_
tools - Port of
fontTools.misc.classifyTools: classifying things into similar sets. - cli_
tools - Port of
fontTools.misc.cliTools: utilities for command-line interfaces. - complex
- Python’s
complex, as fontTools’ curve math uses it. - eexec
- Port of
fontTools.misc.eexec: the Type 1 charstring andeexecencryption. - encoding_
tools - Port of
fontTools.misc.encodingTools: the text encoding of a platform / encoding / language ID triplet. - etree
- A minimal element tree for building XML, serialized the way lxml does
(
fontTools.misc.etreeuses lxml when it is installed, as in the reference environment), and parsed from a string (fromstring). - filenames
- Port of
fontTools.misc.filenames: converting a “user name” (something a user can choose arbitrarily inside a font editor, such as a glyph name) to a file name that is safe on a wide range of operating systems and file systems. - fixed_
tools - Port of
fontTools.misc.fixedTools: conversions between fixed-point numbers, floats and strings. - ift_
sparse_ bit_ set - Sparse bit sets of Incremental Font Transfer (
fontTools.misc.iftSparseBitSet). - int_
tools - Port of
fontTools.misc.intTools: bit counting. - mac_res
- Port of
fontTools.misc.macRes: a reader for Mac OS resource forks. - plistlib
- Port of
fontTools.misc.plistlib: property lists in XML. - ps_lib
- Port of
fontTools.misc.psLib: a tokenizer and a minimal PostScript interpreter, just about enough to parse Type 1 fonts (suckfont). - ps_
operators - Port of
fontTools.misc.psOperators: the objects of the minimal PostScript interpreter ofps_lib, and the key orders of Type 1 font dictionaries. - py
- Python formatting semantics that fontTools’ output depends on.
- round_
tools - Port of
fontTools.misc.roundTools: round-to-integer helpers. - text_
tools - Port of
fontTools.misc.textTools: tags, hex dumps, binary strings, and the literal parsing that fontTools does withsafeEval(ast.literal_eval). - tfm_lib
- Port of
fontTools.tfmLib: reading TFM (TeX Font Metrics) files. - time_
tools - Port of
fontTools.misc.timeTools: OpenType timestamps (seconds since 1904-01-01 00:00:00 UTC). - transform
- Affine transformations (
fontTools.misc.transform). - tree_
tools - Port of
fontTools.misc.treeTools: generic tools for working with trees. - xml_
reader - The XML content model of
fontTools.misc.xmlReader. - xml_
writer - Port of
fontTools.misc.xmlWriter: the XML writer used for TTX.