Commit 0eb75921 authored by Madhur Tandon's avatar Madhur Tandon

Add ``Humor Sans`` font for ``xkcd`` plots.

parent b66c160d
......@@ -25,6 +25,7 @@ build:
cflags: -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_ZLIB=1
ldflags: ../../../../emsdk/emsdk/.emscripten_cache/asmjs/libpng.bc
post: |
wget -O $SITEPACKAGES/matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf http://antiyawn.com/uploads/Humor-Sans-1.0.ttf
rm -rf $SITEPACKAGES/matplotlib/backends/qt_editor
rm -rf $SITEPACKAGES/matplotlib/backends/web_backend
rm -rf $SITEPACKAGES/sphinxext
......
......@@ -40,7 +40,8 @@
"/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSans-Oblique.ttf",
"/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSansDisplay.ttf",
"/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/DejaVuSerif.ttf",
"/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf"
"/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf",
"/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf"
],
"defaultFamily": {
"ttf": "DejaVu Sans",
......@@ -430,6 +431,16 @@
"stretch": "normal",
"size": "scalable",
"_class": "FontEntry"
},
{
"fname": "/lib/python3.7/site-packages/matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf",
"name": "Humor Sans",
"style": "normal",
"variant": "normal",
"weight": 400,
"stretch": "normal",
"size": "scalable",
"_class": "FontEntry"
}
],
"afmfiles": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment