It seems WRI has changed the way fonts are dealt with in Mathematica 9 and 10.

The following command

Export["test.eps", "This is a nice formula"]

yields this

Mathematica graphics

in Mathematica 9 (after import to Illustrator)

whereas it yields

Mathematica graphics

in Mathematica 10. In other words, the font it not recognized anymore by Illustrator CS3. This is using Macos X.

I have tried uploading the Mathematica fonts from http://support.wolfram.com/kb/10427 but it does not seem to help.

Any ideas? (My apologies for a possibly silly question)


Following @Szabolcs remark I tried

Export["test.pdf", "This is a nice formula"]

In Mathematica 9 I get a 1.3 Mb (!!) file which works fine in Illustrator

In Mathematica 10 I get

Mathematica graphics

which is hardly progress!

  • 4
    $\begingroup$ All the fonts seem to have been outlined, which means that there's no way to get the text back once the EPS has been written. If you use PDF, this doesn't happen. In the v10 betas, even exporting to PDF would outline the fonts, but fortunately this was fixed. I almost never use EPS so didn't notice that with EPS it still happens (I complained about PDF during the beta). I wonder if there's an option to control this. $\endgroup$
    – Szabolcs
    Oct 11, 2014 at 19:24
  • $\begingroup$ Thanks! What a drag… I ll try and go through PDF then. $\endgroup$
    – chris
    Oct 11, 2014 at 19:27
  • $\begingroup$ @Szabolcs I also just noticed this new font outlining "bug" with EPS export (it breaks some of my old psfrag tricks). Have you filed a bug report with WRI? $\endgroup$
    – Simon
    Oct 15, 2014 at 3:34
  • 2
    $\begingroup$ "I could see that the labels are not being identified and converted by PSfrag. I cannot comment on PSfrag compatibility with Mathematica as it's an external package, however, I added your contact information to an existing suggestion for better compatibility with LaTeX fonts and styles. In my tests, the EPS files created by Mathematica 10 are opened successfully by other viewers. There were changes in how the plot labels are stored in the EPS file, but still within the PS-3 standard. I did not find an option for reverting to the older method of including text. ... $\endgroup$ Oct 15, 2014 at 9:13
  • 1
    $\begingroup$ ... Mathematica has a feature where two versions can co-exist on a machine. Since PSfrag appears to be essential for your LaTeX preparation, it would be reasonable for you to continue using Mathematica 9 for your needs. It is common for customers to have two versions installed, especially during the transition after release of a new version." It does seem to be a feature, rather than a bug. $\endgroup$ Oct 15, 2014 at 9:14


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.