fontoxide-misc
A Rust port of fontTools.misc,
the low-level helpers shared by the other fontoxide crates (fixed-point numbers,
transforms, Bézier tools, plists, XML reading and writing, PostScript, …), and
of the small top-level modules
fontTools.agl,
fontTools.afmLib and
fontTools.tfmLib.
It is part of fontoxide, a port of
fontTools to Rust.
Most projects should depend on the fontoxide
crate, which re-exports this one as fontoxide::misc, with fontoxide::agl,
fontoxide::afmlib and fontoxide::tfmlib (always included). Depend on this
crate directly to keep the dependency tree small.
Example
use agl;
assert_eq!;
Compatibility
This version follows fontTools 4.68.0. Given the same input, the output is the same as fontTools', byte for byte, as checked with fontTools' own tests and with fixtures generated by running fontTools. Differences from fontTools are listed in COMPATIBILITY.md.
The crate is pure safe Rust and builds for wasm32-unknown-unknown.
License
MIT, like fontTools. See LICENSE.
The Adobe Glyph List data in data/agl is copyright Adobe, under the
BSD-3-Clause license. See LICENSE-AGL.