diff --git a/packages/matplotlib/meta.yaml b/packages/matplotlib/meta.yaml index c2b36ea11..d8b94675b 100644 --- a/packages/matplotlib/meta.yaml +++ b/packages/matplotlib/meta.yaml @@ -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 diff --git a/packages/matplotlib/src/fontList.json b/packages/matplotlib/src/fontList.json index 985df8966..708ee25e6 100644 --- a/packages/matplotlib/src/fontList.json +++ b/packages/matplotlib/src/fontList.json @@ -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": [