[Tex/LaTex] Loss of greek symbols in epstopdf conversion

embeddingepstopdfgreek

When inserting Matlab figures I use the standard approach of saving the figure as a '.eps' file and using the 'epstopdf' conversion package in the preamble. My figure contains the Greek letter mu in the x-label and is recognisable as mu in both the .eps file and the .pdf figure created by the epstopdf package. However, the symbol changes to an infinity symbol when the graph is included in the compiled report. Weirdly I have used the symbol phi in the legend of a previous graph using the same approach and had no problems. All legends and labels in the original .eps files are in Times New Roman. Any ideas what could be happening?

Update – here are the graphs:

Update 2: Graphs removed. I haven't figured out how to upload the eps file yet, but I found out something significant. The corrupt mu symbol is only corrupt in the TeXworks view of the pdf, when I open the pdf in Adobe all the greek symbols are intact. There must be a bug in my TeXworks version.

This link discusses the same problem:
pdflatex \includegraphics changes the font

Best Answer

In general, fonts are not embedded in your PDF, and there are several possible root causes...

The main root cause might be the usage of MiKTeX installed "for all users" (see https://github.com/MiKTeX/miktex/issues/393).

Additionally, it could be that you only miss some font packages that include Ghostscript's free fonts, especially symbol (see https://github.com/MiKTeX/miktex-packaging/issues/112) - yielding non-embedded fonts in your PDF, and hence different behavior in different viewers.

I recommend you install all these packages: bookman, courier, avantgar, helvetic, palatino, ncntrsbk, times, symbol, zapfchan and zapfding; and then try again.

Related Question