File: 70_bts720549_try_StayPuft_for_xkcd.patch

package info (click to toggle)
matplotlib 3.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 76,280 kB
  • sloc: python: 133,763; cpp: 66,599; objc: 1,699; ansic: 1,367; javascript: 765; makefile: 153; sh: 48
file content (24 lines) | stat: -rw-r--r-- 834 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
@@ -640,7 +640,7 @@ def xkcd(scale=1, length=100, randomness
     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': [