python matplotlib画图产生的Type 3 fonts字体没有嵌入问题
2015-01-29 22:06
1351 查看
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
在程序中添加如下语句
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
相关文章推荐
- python画图包seaborn和matplotlib中文字体显示(针对windows系统,,使用ipython notebook)
- python Matplotlib画图之调整字体大小的示例
- Python matplotlib画图的中文显示问题
- python matplotlib 画图刻度、图例等字体、字体大小设置
- python matplotlib.plot画图显示中文乱码的问题
- 解决Linux系统中python matplotlib画图的中文显示问题
- python matplotlib 画图刻度、图例等字体、字体大小设置
- Python matplotlib画图的中文显示问题
- Python 3下使用Matplotlib工具画图,中文显示乱码的问题解决(修改配置文件)
- Python 利用matplotlib绘制热力图 correlation heatmap X,Y 坐标轴字体重叠显示问题,将字体进行旋转
- 基于Linux系统中python matplotlib画图的中文显示问题的解决方法
- python的画图模块matplotlib
- python 的 matplotlib画图 画曲线图
- python matplotlib安装问题解决方案
- ubuntu下matplotlib画图中文乱码问题
- Python画图工具matplotlib的使用(图形并茂)
- 安装Python-Matplotlib时出现的问题--Python version 2.7 required, which was not found in the registry
- Python安装matplotlib所需要的软件以及问题的解决方法
- Python,NumPy,SciPy,Matplotlib安装及问题解决(win7,x64,软件version3.4)
- 【python系列】matplotlib简单画图subplot