The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Topic: Creating a PDF graphic with Mathematica
Replies: 5   Last Post: Jul 8, 2012 7:14 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
R Martinez

Posts: 13
Registered: 5/25/09
Creating a PDF graphic with Mathematica
Posted: Jun 27, 2012 4:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I created a PDF graphic that contains one character (the letter A ) from the TeX Gyre Chorus font. I created the graphic using Mathematica 8.0.4.

Then I included the PDF graphic in a LaTeX document, and typeset the document correctly as a PDF file. I plan to submit the paper to an IEEE journaI.

I'm having a problem because the PDF graphic fails to pass the test of the IEEE's online graphics checker. The graphics checker complains that the PDF graphic contains a non-standard font that is not embedded in the PDF file. The graphic displays correctly in Preview. Adobe Reader displays everything correctly except the TeX Gyre character, for which Reader substitutes a Roman A. The fact that Reader displays incorrectly the TeX Gyre character incorrectly suggests that the font is not embedded in the PDF graphic. On the other hand, Preview's correct rendering suggests that the font is embedded in the graphic.

The IEEE graphics checker also complains that other fonts such as Symbol and Times Bold are not embedded in the PDF graphic. But the Adobe Reader displays these fonts correctly.

To confuse things even more, the IEEE has a separate online "PDF checker" where one uploads the entire typeset PDF document (including all the plots). So I uploaded (1) the entire document, and (2) just the PDF graphic. Both passed the tests of the PDF checker and were approved as correct.

I tried converting the PDF graphic to EPS using an online converter to which one uploads the PDF graphic. The online converter works only with the graphics/font data contained in the PDF graphic. So all information used by the PDF -> EPS converter must reside in the graphic itself. The conversion worked well for everything except the TeX Gyre character, for which it substituted a plain A, as Adobe Reader did. This suggests that the TeX Gyre character was not embedded in the PDF graphic.

After creating a graph with the standard Mathematica Plot[ ] command, I used two methods to create the PDF graphic:

(1) Export["graphic.pdf", graph], where graph is the name of the variable I gave to the output of Plot, i.e., graph = Plot[ ];

(2) Selected the graphic image on the notebook page, then used Menu > File > Save Selection As... > select the PDF format.

Both methods produced the same results.

Has anyone had a similar experience? If so, how did you resolve the issue?

How do I make sure that all the fonts are embedded in the PDF graphic?

I welcome all advice and suggestions.

Thanks in advance.


Raul Martinez

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.