1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-ufo2ft
7 SDESC[py310]= Bridge between UFOs and FontTools (3.10)
8 SDESC[v11]= Bridge between UFOs and FontTools (3.11)
9 HOMEPAGE= https://github.com/googlefonts/ufo2ft
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/ea/ef/8ec7a3f0912872e9d8c3cb70a31ee35dfcf43b3bea0098e23772c1181f11
14 DISTFILE[1]= ufo2ft-2.33.3-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
24 DISTNAME= ufo2ft-2.33.3.dist-info
28 [PY310].RUN_DEPENDS_ON= python-fonttools:single:py310
29 python-cffsubr:single:py310
30 python-booleanOperations:single:py310
31 [PY310].USES_ON= python:py310,wheel
33 [PY311].RUN_DEPENDS_ON= python-fonttools:single:v11
34 python-cffsubr:single:v11
35 python-booleanOperations:single:v11
36 [PY311].USES_ON= python:v11,wheel
38 [FILE:2726:descriptions/desc.single]
39 |GitHub Actions status| |PyPI Version| |Codecov| |Gitter Chat|
44 ufo2ft ("UFO to FontTools") is a fork of
45 [ufo2fdk] whose goal is to
46 generate OpenType font binaries from UFOs without the FDK dependency.
48 The library provides two functions, compileOTF and compileTTF,
49 which work exactly the same way:
54 ufo2ft supports building COLR and CPAL tables.
56 If there is ``com.github.googlei18n.ufo2ft.colorPalettes`` key in font lib,
58 ``com.github.googlei18n.ufo2ft.colorLayerMapping`` key in the font or
59 in any of the glyphs lib, then ufo2ft will build CPAL table from the color
60 palettes, and COLR table from the color layers.
62 colorPalettes is a array of palettes, each palette is a array of colors and
63 each color is a array of floats representing RGBA colors. For example:
67 <key>com.github.googlei18n.ufo2ft.colorPalettes</key>
85 colorLayerMapping is a array of color layers, each color layer is a array
87 layer name and palette color index. It is a per-glyph key, but if present
89 the font lib then it will be used for all glyphs that lack it. For example:
93 <key>com.github.googlei18n.ufo2ft.colorLayerMapping</key>
96 <string>color.1</string>
100 <string>color.2</string>
105 With these this key present, ufo2ft will copy the color layers into
107 glyphs and setup COLR table.
109 Alternatively, if the color layers are already separate UFO glyphs, the
110 ``com.github.googlei18n.ufo2ft.colorLayers`` font lib key can be used. It
112 a table keyed by base glyph, and the value is an array of color layers,
114 color layer is an array of glyph name and palette color index. For example:
118 <key>com.github.googlei18n.ufo2ft.colorLayers</key>
123 <string>alef-ar.color0</string>
127 <key>alefHamzaabove-ar</key>
130 <string>alefHamzaabove-ar.color0</string>
134 <string>alefHamzaabove-ar.color1</string>
142 5abf96ac1c05e5878dbee0c6117157f48f0c88032ab93e9d183f9dc1677b209c 117748 ufo2ft-2.33.3-py2.py3-none-any.whl