我正在使用Fontello为我的应用生成自定义.eot字体。
生成后,我会尝试通过添加以下加载器,使用webpack配置加载它:
webpack:///./src/fontello/font/fontello.eot?:1
throw new Error("Module parse failed: Unexpected character '�' (1:1)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n(Source code omitted for this binary file)");
^
Error: Module parse failed: Unexpected character '�' (1:1)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
不幸的是,这引发了以下错误:
from matplotlib.backends.backend_pdf import PdfPages
pp = PdfPages('Output.pdf')
pp.savefig(Figure_1)
pp.savefig(Figure_2)
pp.savefig(Figure_3)
pp.close()
我错过了什么吗?我是否需要在webpack选项中添加任何内容?