Commit 538eed7
committed
Provide a 'cursive' font present in Windows' default font set.
See changelog. Admittedly the CSS example page is inconsistent with
https://www.w3.org/TR/css-fonts-3/#generic-font-families which lists
Comic Sans as *fantasy*, not *cursive*, but none of the other cursive
fonts listed here is readily available. fontconfig also defaults to
listing Comic Sans as cursive.
The main intent is to make `text_labels_and_annotations/fonts_demo.py`
runnable with no warnings if MS core fonts are installed (freely
available and packaged on Linux e.g. as
https://packages.debian.org/sid/ttf-mscorefonts-installer); in any case
if someone really wants a cursive or fantasy font they'll likely have to
pass the actual font family name anyways as there's too much variation
in what "cursive" or "fantasy" means...
(The original list of fonts comes from 41f1c49 but is not explained.)1 parent 7d0cb13 commit 538eed7
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
| 261 | + | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
0 commit comments