Ravenports generated: 27 Sep 2023 00:47
[ravenports.git] / bucket_DD / python-ufo2ft
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-ufo2ft
4 VERSION=                2.33.4
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/28/54/93eecc53e5460ec69b2948271c65823a7cad1553b1ea8e8ca8a5703c9dc3
14 DISTFILE[1]=            ufo2ft-2.33.4-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.33.4.dist-info
25
26 GENERATED=              yes
27
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
32
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
37
38 [FILE:2726:descriptions/desc.single]
39 |GitHub Actions status| |PyPI Version| |Codecov| |Gitter Chat|
40
41 ufo2ft
42 ======
43
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.
47
48 The library provides two functions, compileOTF and compileTTF,
49 which work exactly the same way:
50
51 Color fonts
52 ~~~~~~~~~~~
53
54 ufo2ft supports building COLR and CPAL tables.
55
56 If there is ``com.github.googlei18n.ufo2ft.colorPalettes`` key in font lib,
57 and
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.
61
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:
64
65 .. code:: xml
66
67     <key>com.github.googlei18n.ufo2ft.colorPalettes</key>
68     <array>
69       <array>
70         <array>
71           <real>0.26</real>
72           <real>0.0</real>
73           <real>0.23</real>
74           <real>1.0</real>
75         </array>
76         <array>
77           <real>0.86</real>
78           <real>0.73</real>
79           <real>0.28</real>
80           <real>1.0</real>
81         </array>
82       </array>
83     </array>
84
85 colorLayerMapping is a array of color layers, each color layer is a array
86 of
87 layer name and palette color index. It is a per-glyph key, but if present
88 in
89 the font lib then it will be used for all glyphs that lack it. For example:
90
91 .. code:: xml
92
93       <key>com.github.googlei18n.ufo2ft.colorLayerMapping</key>
94       <array>
95         <array>
96           <string>color.1</string>
97           <integer>1</integer>
98         </array>
99         <array>
100           <string>color.2</string>
101           <integer>0</integer>
102         </array>
103       </array>
104
105 With these this key present, ufo2ft will copy the color layers into
106 individual
107 glyphs and setup COLR table.
108
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
111 uses
112 a table keyed by base glyph, and the value is an array of color layers,
113 each
114 color layer is an array of glyph name and palette color index. For example:
115
116 .. code:: xml
117
118     <key>com.github.googlei18n.ufo2ft.colorLayers</key>
119     <dict>
120       <key>alef-ar</key>
121       <array>
122         <array>
123           <string>alef-ar.color0</string>
124           <integer>2</integer>
125         </array>
126       </array>
127       <key>alefHamzaabove-ar</key>
128       <array>
129         <array>
130           <string>alefHamzaabove-ar.color0</string>
131           <integer>1</integer>
132         </array>
133         <array>
134           <string>alefHamzaabove-ar.color1</string>
135           <integer>2</integer>
136         </array>
137       </array>
138     <dict>
139
140
141 [FILE:113:distinfo]
142 f712ac76cf2df0387f5cd0c9ef9b82c691a5f2e50412bc5cb93f0fc0692aa0a4       117837 ufo2ft-2.33.4-py2.py3-none-any.whl
143