Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
I vaguely remember that some font cannot be embedded for license problems. Absolutely not sure if is that the case. – enzotib Jun 24 '11 at 5:36
One way I found is that convert the pdf into ps using pdftops command and again convert that ps into pdf using "ps2pdf14" solves the problem. However, the quality of the pdf is reduced. This is not best solution for this. – samarasa Jun 25 '11 at 15:07
You might have better luck asking this question on tex.stackexchange. – N.N. Jul 5 '11 at 18:43
up vote 4 down vote accepted

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
ps2pdf14 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true file.pdf

Unfortunately, hyperlinks for example will not survive this transformation.

See this question on the (more relevant) tex.stackexchange sister site:

share|improve this answer

Another (I believe, better) alternative is to use ghostcript:

gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -sOutputFile=${file}_FONTS-EMBEDDED.pdf ${file}.pdf

It is better because the resulting pdf is smaller and keeps a good behavior in text copying. In fact, this method embeds other fonts, in place of the original. But, the resulting pdf will have all fonts embedded. I found this method here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.