[Tioga-users] Embedded fonts

Vincent Fourmond vincent.fourmond at 9online.fr
Sun Mar 11 18:04:04 EDT 2007


Bill Paxton wrote:
> On Mar 9, 2007, at 9:16 AM, Roy Mayfield wrote:
> 
>> Hi Bill,
> Any TeX text that shows up in the figure will need to have it's fonts  
> embedded, so if
> you can trick it into doing ZapfDingbats, we might have a workaround.

  Seems like my post got lost ;-)...

  So here is a summary of what you need to do to embed the PDF standard
fonts inside a PDF. You really should have all the tools here as a part
of a standard LaTeX installation - you might need to install xpdf,
though, to get pdftops. I can't get gs to work with this yet. First run

pdftops -eps Plot.pdf

This produces an EPS file, Plot.eps. Then, run the following
command-line to convert it back to PDF embedding also the standard fonts:

epstopdf --nogs Plot.eps |gs -q -sDEVICE=pdfwrite
-dAutoRotatePages=/None -dPDFSETTINGS=/prepress -sOutputFile=Plot_new.pdf -

(do not forget the - at the end of the command !). And, now, all fonts
are embedded, which you can check with pdffonts:

23:01 vincent at tanyaivinco ~ pdffonts Plot_new.pdf
name                                 type         emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
YOPKJB+CMR10                         Type 1C      yes yes no      11  0
ICPHXL+CMMI10                        Type 1C      yes yes no      13  0
MCEARB+CMSY10                        Type 1C      yes yes no      15  0
ACTAOE+ZapfDingbats                  Type 1C      yes yes no       9  0

  When I have some time, I'll write a little shell script to do this
thing; I'll include it into the tioga distribution to make life simpler
for people in your case.

  Cheers, I hope it will help !

	Vincent


-- 
Vincent Fourmond, PhD student (not for long anymore)
http://vincent.fourmond.neuf.fr/


More information about the Tioga-users mailing list