Commit 14c8d69
committed
Handle some simpler colour fonts
This adds support for fonts with colour glyphs supported by FreeType.
Specifically, this should mean COLRv0 fonts. There also exist some other
colour font types, which are not supported:
* CBDT is a non-scalable bitmap format and we don't support those, but
it may be possible if we do a scaling ourselves.
* SVG requires a parser (though it's some font-specific subset of the
whole SVG spec).
* COLRv1 essentially requires a full renderer setup.1 parent e73daf0 commit 14c8d69
File tree
31 files changed
+143
-36
lines changed- lib
- matplotlib
- backends
- tests/baseline_images
- test_axes
- test_contour
- test_dates
- test_figure
- test_ft2font
- test_polar
- test_table
- test_text
- mpl_toolkits
- axisartist/tests/baseline_images/test_grid_helper_curvelinear
- mplot3d/tests/baseline_images/test_axes3d
- src
31 files changed
+143
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
238 | 250 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
245 | 263 | | |
246 | 264 | | |
247 | 265 | | |
| |||
Loading
0 commit comments