0
$\begingroup$

This question already has an answer here:

I have a plot that uses the font TeX Gyre Pagella. Which is not a native font of Mac OS but I installed it through the font book to all users and the system.

In the output itself of Mathematica it looks completely fine (it didn't before I installed the font for obvious reasons). But when I click save to pdf the font changes to another one (don't know which).

Why is this happening? Why would the exportation of the plot change the font it uses? I have been exporting to .png and use the plot like that but I lose quality and the vectorized plots which I prefer.

Thanks!


Edit:

I am using Mathematica 11 and macOS Mojave 10.14.4

$\endgroup$

marked as duplicate by Carl Lange, m_goldberg, Szabolcs, Henrik Schumacher, garej May 21 at 8:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ What version of Mathematica are you using? $\endgroup$ – Carl Lange May 19 at 21:07
  • $\begingroup$ Mathematica 11. The same I was using in Linux where the same .nb was working fine but that's because the font is native to it (I think), $\endgroup$ – M.O. May 19 at 21:09
  • 1
    $\begingroup$ Your issue resembles this question: mathematica.stackexchange.com/questions/183053/… $\endgroup$ – Carl Lange May 19 at 21:18
  • $\begingroup$ Yes! Very similar! It gets fixed by exporting via the print command they mention in their answers. Thanks! $\endgroup$ – M.O. May 19 at 21:28
  • 1
    $\begingroup$ In that case, I'll mark this as a duplicate, since you found a solution on that question. (It seems the real solution is to upgrade to 12 😉) $\endgroup$ – Carl Lange May 19 at 21:37

Browse other questions tagged or ask your own question.