Skip to content

Commit 4b48762

Browse files
authored
Merge pull request #18623 from anntzer/comic
Provide a 'cursive' font present in Windows' default font set.
2 parents 3c1b27f + 538eed7 commit 4b48762

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Changed cursive and fantasy font definitions
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The Comic Sans and Comic Neue fonts were moved from the default :rc:`font.fantasy`
4+
list to the default :rc:`font.cursive` setting, in accordance with the CSS
5+
font families example_ and in order to provide a cursive font present in
6+
Microsoft's Core Fonts set.
7+
8+
.. _example: https://www.w3.org/Style/Examples/007/fonts.en.html

matplotlibrc.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@
258258

259259
#font.serif: DejaVu Serif, Bitstream Vera Serif, Computer Modern Roman, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
260260
#font.sans-serif: DejaVu Sans, Bitstream Vera Sans, Computer Modern Sans Serif, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
261-
#font.cursive: Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, cursive
262-
#font.fantasy: Comic Neue, Comic Sans MS, Chicago, Charcoal, Impact, Western, Humor Sans, xkcd, fantasy
261+
#font.cursive: Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, Comic Neue, Comic Sans MS, cursive
262+
#font.fantasy: Chicago, Charcoal, Impact, Western, Humor Sans, xkcd, fantasy
263263
#font.monospace: DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
264264

265265

0 commit comments

Comments
 (0)