Ravenports generated: 19 May 2023 23:12
[ravenports.git] / bucket_DD / python-ufo2ft
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-ufo2ft
4 VERSION=                2.31.1
5 KEYWORDS=               python
6 VARIANTS=               py310 v11
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]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPIWHL/2d/50/6b5c3aee5a3d497607de3e409c45cbbe0128a2ecd66a363011a10f5db1b3
14 DISTFILE[1]=            ufo2ft-2.31.1-py2.py3-none-any.whl:main
15 DF_INDEX=               1
16 SPKGS[py310]=           single
17 SPKGS[v11]=             single
18
19 OPTIONS_AVAILABLE=      PY310 PY311
20 OPTIONS_STANDARD=       none
21 VOPTS[py310]=           PY310=ON PY311=OFF
22 VOPTS[v11]=             PY310=OFF PY311=ON
23
24 DISTNAME=               ufo2ft-2.31.1.dist-info
25
26 GENERATED=              yes
27
28 [PY310].RUN_DEPENDS_ON=                 python-fonttools:single:py310
29                                         python-cu2qu:single:py310
30                                         python-cffsubr:single:py310
31                                         python-booleanOperations:single:py310
32 [PY310].USES_ON=                        python:py310,wheel
33
34 [PY311].RUN_DEPENDS_ON=                 python-fonttools:single:v11
35                                         python-cu2qu:single:v11
36                                         python-cffsubr:single:v11
37                                         python-booleanOperations:single:v11
38 [PY311].USES_ON=                        python:v11,wheel
39
40 [FILE:2726:descriptions/desc.single]
41 |GitHub Actions status| |PyPI Version| |Codecov| |Gitter Chat|
42
43 ufo2ft
44 ======
45
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.
49
50 The library provides two functions, compileOTF and compileTTF,
51 which work exactly the same way:
52
53 Color fonts
54 ~~~~~~~~~~~
55
56 ufo2ft supports building COLR and CPAL tables.
57
58 If there is ``com.github.googlei18n.ufo2ft.colorPalettes`` key in font lib,
59 and
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.
63
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:
66
67 .. code:: xml
68
69     <key>com.github.googlei18n.ufo2ft.colorPalettes</key>
70     <array>
71       <array>
72         <array>
73           <real>0.26</real>
74           <real>0.0</real>
75           <real>0.23</real>
76           <real>1.0</real>
77         </array>
78         <array>
79           <real>0.86</real>
80           <real>0.73</real>
81           <real>0.28</real>
82           <real>1.0</real>
83         </array>
84       </array>
85     </array>
86
87 colorLayerMapping is a array of color layers, each color layer is a array
88 of
89 layer name and palette color index. It is a per-glyph key, but if present
90 in
91 the font lib then it will be used for all glyphs that lack it. For example:
92
93 .. code:: xml
94
95       <key>com.github.googlei18n.ufo2ft.colorLayerMapping</key>
96       <array>
97         <array>
98           <string>color.1</string>
99           <integer>1</integer>
100         </array>
101         <array>
102           <string>color.2</string>
103           <integer>0</integer>
104         </array>
105       </array>
106
107 With these this key present, ufo2ft will copy the color layers into
108 individual
109 glyphs and setup COLR table.
110
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
113 uses
114 a table keyed by base glyph, and the value is an array of color layers,
115 each
116 color layer is an array of glyph name and palette color index. For example:
117
118 .. code:: xml
119
120     <key>com.github.googlei18n.ufo2ft.colorLayers</key>
121     <dict>
122       <key>alef-ar</key>
123       <array>
124         <array>
125           <string>alef-ar.color0</string>
126           <integer>2</integer>
127         </array>
128       </array>
129       <key>alefHamzaabove-ar</key>
130       <array>
131         <array>
132           <string>alefHamzaabove-ar.color0</string>
133           <integer>1</integer>
134         </array>
135         <array>
136           <string>alefHamzaabove-ar.color1</string>
137           <integer>2</integer>
138         </array>
139       </array>
140     <dict>
141
142
143 [FILE:113:distinfo]
144 4e1b23988bc0956b7a3aeb01a710d4b6a89149053f54796032f18f6a5f07715c       115842 ufo2ft-2.31.1-py2.py3-none-any.whl
145