[texhax] Tex - PDF fonts are not embedded

Axel E. Retif axel.retif at mac.com
Thu Dec 4 10:20:44 CET 2008


On  3 Dec, 2008, at 12:49, zohar at math.haifa.ac.il wrote:

> Dear system support team member,
>
> I am using Tex to create PDF files.
> When I am trying to include Postscript files in the Latex file, in  
> the dvi file
> created by Tex, some of the fonts are not embedded. As a result,  
> though the
> plot is presented, some of the fonts (e.g., the titles) do not  
> appear in the
> PDF file.
> Could you please advice me how to config either Tex, or the  
> Postscript file
> to overcome this problem ?
> I know that this type of problem is often generated by Gnuplot.
> I was told that one way to deal with it is to add the gnuplot script  
> the
> following line:
> set terminal postscript eps enhanced "NimbusSanI-Regu" fontfile
> "uhvr8a.pfb" 26
>
> However, I have no idea how to config the plot created by Tex.

You don't say which TeX distribution you're using, which is important.  
I'll tell you what *I* do (TeX Live 2008 on Mac OS X):

First, to understand what's going on, please read two documents (this  
should work both with TeX Live on Linux, Mac or Windows, as well as  
with MiKTeX on Windows): at your terminal or Command Prompt type

texdoc updmap <enter>
texdoc updmap.cfg <enter>

Six pages in total.

Now (and I repeat, this is what I do, but I don't know what distro  
you're using) tell updmap to use outline fonts whenever possible and  
to always embed all fonts (the following are five lines with,  
obviously, <enter> after each one):

sudo updmap-sys --nohash --nomkmap --setoption dvipsPreferOutline true
sudo updmap-sys --nohash --nomkmap --setoption dvipsDownloadBase35 true
sudo updmap-sys --nohash --nomkmap --setoption pdftexDownloadBase14 true
sudo updmap-sys --nohash --nomkmap --setoption dvipdfmDownloadBase14  
true
sudo updmap-sys

The `` --nohash --nomkmap '' in the first four lines is just to tell  
updmap to hold any actual change until the last command.

Best,

Axel



More information about the texhax mailing list