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[py39]= Bridge between UFOs and FontTools (3.9)
9 HOMEPAGE= https://github.com/googlefonts/ufo2ft
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/77/75/5a0ebc3b520d037aa9cec56ba5a1513c3e986651435475b15fae15499922
14 DISTFILE[1]= ufo2ft-2.27.0-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY39 PY310
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY39=OFF PY310=ON
22 VOPTS[py39]= PY39=ON PY310=OFF
24 DISTNAME= ufo2ft-2.27.0.dist-info
28 [PY39].RUN_DEPENDS_ON= python-fonttools:single:py39
29 python-cu2qu:single:py39
30 python-cffsubr:single:py39
31 python-booleanOperations:single:py39
32 [PY39].USES_ON= python:py39,wheel
34 [PY310].RUN_DEPENDS_ON= python-fonttools:single:py310
35 python-cu2qu:single:py310
36 python-cffsubr:single:py310
37 python-booleanOperations:single:py310
38 [PY310].USES_ON= python:py310,wheel
40 [FILE:2726:descriptions/desc.single]
41 |GitHub Actions status| |PyPI Version| |Codecov| |Gitter Chat|
46 ufo2ft ("UFO to FontTools") is a fork of
47 [ufo2fdk] whose goal is to
48 generate OpenType font binaries from UFOs without the FDK dependency.
50 The library provides two functions, compileOTF and compileTTF,
51 which work exactly the same way:
56 ufo2ft supports building COLR and CPAL tables.
58 If there is ``com.github.googlei18n.ufo2ft.colorPalettes`` key in font lib,
60 ``com.github.googlei18n.ufo2ft.colorLayerMapping`` key in the font or
61 in any of the glyphs lib, then ufo2ft will build CPAL table from the color
62 palettes, and COLR table from the color layers.
64 colorPalettes is a array of palettes, each palette is a array of colors and
65 each color is a array of floats representing RGBA colors. For example:
69 <key>com.github.googlei18n.ufo2ft.colorPalettes</key>
87 colorLayerMapping is a array of color layers, each color layer is a array
89 layer name and palette color index. It is a per-glyph key, but if present
91 the font lib then it will be used for all glyphs that lack it. For example:
95 <key>com.github.googlei18n.ufo2ft.colorLayerMapping</key>
98 <string>color.1</string>
102 <string>color.2</string>
107 With these this key present, ufo2ft will copy the color layers into
109 glyphs and setup COLR table.
111 Alternatively, if the color layers are already separate UFO glyphs, the
112 ``com.github.googlei18n.ufo2ft.colorLayers`` font lib key can be used. It
114 a table keyed by base glyph, and the value is an array of color layers,
116 color layer is an array of glyph name and palette color index. For example:
120 <key>com.github.googlei18n.ufo2ft.colorLayers</key>
125 <string>alef-ar.color0</string>
129 <key>alefHamzaabove-ar</key>
132 <string>alefHamzaabove-ar.color0</string>
136 <string>alefHamzaabove-ar.color1</string>
144 5db838b5b4130df790bae223a9c5cac1baaf5fd4ae8540a5ca28db39b5774479 91130 ufo2ft-2.27.0-py2.py3-none-any.whl