[pdftex] How to force inclusion of ALL fonts in produced .pdf?

Andreas Matthias amat at kabsi.at
Sun Jun 1 17:13:37 CEST 2003

Peter Schröder <ps at cs.caltech.edu> wrote:

> Question: how can I configure pdflatex (I am running the miktex
> distribution) to include all fonts used by a given document. In fact, I
> would be delighted to include even the "standard" fonts just to be on
> the safe side for next time.

Pdftex normally embeds all fonts except the standard fonts.
If not, please get a new pdftex.map.

Please read the pdftex manual (5.1 Map files) to learn
about the syntax of the map file.

The problem is that pdftex never embeds the standard fonts
(Times, Helvetica, Courier,...), even if you specify a
fontfile. But there is a trick to force pdftex to embed
the fontfile. Just change the (standard) name of the font
(basename). Then pdftex is not aware of what kind of font this
is and will embed it. Of course you must have the fonts. teTeX
installs the URW fonts, don't know about mikTeX.

Here is example for Times-Roman. The normal entry in pdftex.map
looks like that:

ptmr8r Times-Roman "TeXBase1Encoding ReEncodeFont" <8r.enc

Now add the fontfile and change the name of the font (basename):

ptmr8r Times-RomanEmbed "TeXBase1Encoding ReEncodeFont" <8r.enc <utmr8a.pfb
                  ^^^^^                                         ^^^^^^^^^^^

You can change the name to whatever you like. 


More information about the pdftex mailing list