MATLAB: Is the text in the figure labels corrupted when I print to a PDF file in MATLAB 7.0 (R14)

adobecharacterscreatorMATLABstrangetex

I have a figure with LaTeX interpreted axes labels and title. When I print the figure to a PDF file using a PDF printer driver (one that shows up as a "printer", as opposed to using PRINT with the '-dpdf' option), the text is corrupted. Characters inside math equations are converted to the Greek letter psi and other characters are converted to small accent marks.

Best Answer

This is an issue with the 3rd party printer driver and (possibly) what fonts are generally available to the system.
You can use the following command:
print(gcf,'-dpdf','filename')'
where "filename" is the name you would like to save the figure to.
Alternatively, you can save the file as PDF by selecting File -> Save As... from the figure window and then choosing PDF from the drop down menu in the dialog. box.