1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-ufo2ft
7 SDESC[v11]= Bridge between UFOs and FontTools (3.11)
8 SDESC[v12]= Bridge between UFOs and FontTools (3.12)
9 HOMEPAGE= https://github.com/googlefonts/ufo2ft
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/28/54/93eecc53e5460ec69b2948271c65823a7cad1553b1ea8e8ca8a5703c9dc3
14 DISTFILE[1]= ufo2ft-2.33.4-py2.py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 DISTNAME= ufo2ft-2.33.4.dist-info
28 [PY311].RUN_DEPENDS_ON= python-fonttools:single:v11
29 python-cffsubr:single:v11
30 python-booleanOperations:single:v11
31 [PY311].USES_ON= python:v11,wheel
33 [PY312].RUN_DEPENDS_ON= python-fonttools:single:v12
34 python-cffsubr:single:v12
35 python-booleanOperations:single:v12
36 [PY312].USES_ON= python:v12,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 f712ac76cf2df0387f5cd0c9ef9b82c691a5f2e50412bc5cb93f0fc0692aa0a4 117837 ufo2ft-2.33.4-py2.py3-none-any.whl