在matplotlib中输入1个嵌入字体

时间:2017-11-12 09:17:46

标签: python-2.7 matplotlib fonts tex

我正在使用matplotlib创建绘图,我希望我的绘图只包含Type 1嵌入字体。但对于某些对象,matplotlib不会给我Type 1嵌入代码。当我使用时,

rc('text', usetex=True);
rc('pdf',fonttype=42);
rc('font',family="Times New Roman")

我得到CID TrueType嵌入字体。

当我使用

rc('pdf',use14corefonts= True);
rc('text', usetex=True);

我获得了Type 1 Helvetica字体,但没有嵌入。

如何确保我只有Type 1嵌入代码?

0 个答案:

没有答案