mercredi 11 février 2015

can't find Mac CMMI8 fonts for illustrator image create with python (postscript)


I have illustrator in mac and in windows. I have saved a figure as postscript with python matplotlib latex, when I try to open the figure with illustrator in windows it told me that I am missing the following fonts:



CMMI6
CMMI8
CMR8
CMSY8


I downloaded the fonts and installed them and everything worked.


When I tried to open the postscript with illustrator in mac , as expected it say that I need to install the fonts : CMMI6, CMMI8, CMR8, CMSY8.


but I did not managed to download and install the fonts.


I have tried to transfer the fonts from the windows system to the mac, but it was not able to.


This is the python code to create the postscript image



ipython —pylab

matplotlib.rcParams["text.usetex"] = True
# load the xfrac package
matplotlib.rcParams["text.latex.preamble"].append(r'\usepackage[dvips]{graphicx}\usepackage{xfrac}')

figure()

plot([1,1],[2,3])
ylabel(r'\sfrac{$\tau_{peel}$}{$\tau_{m}$}')
draw()
show()


This is a link for an example postscript image that use the missing fonts. I am able to open it correctly on windows illustrator but I can not in mac illustrator. http://ift.tt/1DDXvb0





Aucun commentaire:

Enregistrer un commentaire