使用 LaTeX 的 \documentclass[journal]{IEEEtran} 模板完成论文写作并完成提交后,系统报错:
This document has Type 3 fonts
查了一下,是因为 Python 的开源库 matplotlib 生成的图默认是 Type 3 fonts 的。一种解决方法是通过转换文件类型来间接转换,但是这样转换后的文字效果比较差。
最好的解决方法,转换成 Type 42:
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
文章讲述了在使用LaTeX的IEEEtran模板撰写论文时遇到Type3fonts系统报错,分析了原因在于matplotlib生成的图默认为Type3,提出了转换文件类型和设置matplotlib参数为Type42以改善文字效果的解决策略。
904

被折叠的 条评论
为什么被折叠?



