Commit b8af401
committed
Rely on findfont autofallback-to-default in pdf/ps backends.
findfont(...) will never return None unless fallback_to_default=False
is passed -- the default is True and causes afm searches to fall
back to Helvetica -- so the "filename is None" branch never occurs.
(The code in the pdf/ps backends came in in af9954d (2009) whereas
fallback_to_default only came in in 94120dc (2010).)1 parent fc413b3 commit b8af401
2 files changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 72 | + | |
| 73 | + | |
77 | 74 | | |
78 | 75 | | |
79 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | 666 | | |
671 | 667 | | |
672 | 668 | | |
| |||
0 commit comments