Ubuntu – Fonts are not embedded into a pdf

11.04fontslatexpdf

I have created a pdf file using the pdflatex command but some fonts are not embedded into it. Please see the output of pdffonts. I have also checked "updmap –edit" to see whether the option "pdftexDownloadBase14" is true or not. It is true. But, still some fonts are not emebedded. Please help me to resolve this.
enter image description here

Best Answer

This might not be the most relevant question for askubuntu, but I'll try to answer it nevertheless: You probably included graphics in your document that use the Helvetica font (a common example are the axis labels for figures created by Matlab), right? If you used Helvetica in your document (e.g. with \usepackage{helvet}), the Helvetica replacement Nimbus Sans L would be used instead.

Embedding the fonts from external figures is not possible at the moment (it should work if you make sure that the external figures embed the fonts themselves, though!).

Therefore, as suggested in the comments, the only solution seems to be to do a PDF->PS->PDF conversion, e.g.:

pdf2ps file.pdf file.ps
ps2pdf14 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true file.ps file.pdf

Unfortunately, hyperlinks for example will not survive this transformation.

See this question on the (more relevant) tex.stackexchange sister site: https://tex.stackexchange.com/questions/10391/how-to-embed-fonts-at-compile-time-with-pdflatex

Related Question