I have some planar graphics involving lines and text, produced by Line[] and Text[], accepting the default font on the latter. When I Save Graphics as .jpg, it looks fine, left below. When I save as .pdf, the fonts are mangled, right below.

This is using Mathematica running under Mac OSX 10.9.5. Has anyone encountered this problem before?
Below, pts1 and pts2 are 2D points list:

n = Length[pts1];
text1 = MapThread[Text[#1, #2] &, {Range[1, n], pts1}];
text2 = MapThread[Text[#1, #2] &, {Range[1, n], pts2}];
g = Graphics[{
    Purple, Line[pts1], Red, text1,
    Green, Line[pts2], text2

I exported by right-clicking on the notebook image and selecting Save Graphics As...

  • 2
    $\begingroup$ Confirmed for 10.0.2 on Win7 64. It does work with Export["x.pdf"] though. $\endgroup$
    – Yves Klett
    Dec 29 '14 at 14:28
  • 2
    $\begingroup$ Related (essentially a dupe, but no answer): mathematica.stackexchange.com/q/68893/131 $\endgroup$
    – Yves Klett
    Dec 29 '14 at 14:32
  • $\begingroup$ @YvesKlett: Excellent---Thanks! I will simply use Export[] from now on (even though right-clicking is certainly more convenient). $\endgroup$ Dec 29 '14 at 14:38
  • 1
    $\begingroup$ Joseph, for reproduction and documentation purposes I find Export much more convenient (depending on how repetitive a given task is). Plus, you have full control over the options. $\endgroup$
    – Yves Klett
    Dec 29 '14 at 14:43
  • $\begingroup$ @Yves Shall we close this as a duplicate? $\endgroup$
    – Mr.Wizard
    Dec 30 '14 at 1:58

Browse other questions tagged or ask your own question.