File: 70_bts720549_try_StayPuft_for_xkcd.patch

package info (click to toggle)
matplotlib 3.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,264 kB
  • sloc: python: 123,969; cpp: 57,655; ansic: 29,431; objc: 2,244; javascript: 757; makefile: 163; sh: 111
file content (24 lines) | stat: -rw-r--r-- 838 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sandro Tosi <morph@debian.org>
Date: Thu, 8 Oct 2015 09:47:14 -0700
Subject: Try to use also StayPuft (a free font) for xkcd

Origin: vendor
Bug: http://bugs.debian.org/720549
Forwarded: not-needed
Last-Update: 2013-10-06
Patch-Name: 70_bts720549_try_StayPuft_for_xkcd.patch
---
 lib/matplotlib/pyplot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/matplotlib/pyplot.py
+++ b/lib/matplotlib/pyplot.py
@@ -525,7 +525,7 @@ class _xkcd:
         from matplotlib import patheffects
         rcParams.update({
             'font.family': ['xkcd', 'xkcd Script', 'Humor Sans', 'Comic Neue',
-                            'Comic Sans MS'],
+                            'Comic Sans MS', 'StayPuft'],
             'font.size': 14.0,
             'path.sketch': (scale, length, randomness),
             'path.effects': [