python matplotlib画图产生的Type 3 fonts字体没有嵌入问题

ScholarOne's 对python matplotlib画图产生的Type 3 fonts字体不兼容,更改措施:

在程序中添加如下语句
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42
这使得matplotlib to 使用Type 42字体来生成PostScript 和PDF 文件.

matplotlib.rcParams['text.usetex'] = True
也可以这样强制生成Type 1 fonts, 不过可能会改变图形

参考自:http://www.phyletica.com/?p=308

posted @ 2015-01-29 22:06  joey周琦  阅读(2342)  评论(0编辑  收藏  举报