Port variant | v12 |
Summary | Bridge between UFOs and FontTools (3.12) |
Package version | 3.4.2 |
Homepage | https://github.com/googlefonts/ufo2ft |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v13 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 22 FEB 2025, 05:59:26 UTC |
Port created | 04 JAN 2020, 01:03:23 UTC |
single | |GitHub Actions status| |PyPI Version| |Codecov| |Gitter Chat|
ufo2ft
======
ufo2ft ("UFO to FontTools") is a fork of
[ufo2fdk] whose goal is to
generate OpenType font binaries from UFOs without the FDK dependency.
The library provides two functions, compileOTF and compileTTF,
which work exactly the same way:
Color fonts
~~~~~~~~~~~
ufo2ft supports building COLR and CPAL tables.
If there is ``com.github.googlei18n.ufo2ft.colorPalettes`` key in font lib,
and
``com.github.googlei18n.ufo2ft.colorLayerMapping`` key in the font or
in any of the glyphs lib, then ufo2ft will build CPAL table from the color
palettes, and COLR table from the color layers.
colorPalettes is a array of palettes, each palette is a array of colors and
each color is a array of floats representing RGBA colors. For example:
.. code:: xml
|
Build (only) |
python312:dev:std python-pip:single:v12 autoselect-python:single:std |
Build and Runtime | python312:primary:std |
Runtime (only) |
python-fonttools:single:v12 python-cffsubr:single:v12 python-booleanOperations:single:v12 python-fontMath:single:v12 |
main | mirror://PYPIWHL/2a/49/beb0058ebef94d12d23d1afb9052c97fa67d04ff1bffafcc8bc881c85304 |
No other ports depend on this one. |