It is sometimes tricky to trick latex/pdflatex to embed all fonts in the final PDF files. But embedding all fonts makes the document self-contained, and some publishers require this. The following is a list of steps that should guarantee the fonts are embedded. The information is collected from the internet, and should work for Texlive 3.0.
1. If you use latex-> dvips-> ps2pdf, then in the ps2pdf step use the following:
ps2pdf -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
-sPAPERSIZE=letter -dPDFSETTINGS=/printer \
-dCompatibilityLevel=1.4 -dMaxSubsetPct=100 \
-dSubsetFonts=true -dEmbedAllFonts=true \
file.ps
2. If you use pdflatex, then
(a) make sure pdflatex embed all fonts that are used in the text part by running the following command (to download all the 14 Adobe Base fonts)
updmap --setoption pdftexDownloadBase14 true
(b) run pdflatex on the .tex file
(c) check that all fonts are embed by using
pdffonts file.pdf
or open acrobat reader and check Document Properties->Fonts
(d) If there are still fonts not embedded, then those are from the
included figures. These can be corrected by running the following
gs -dSAFER -dNOPAUSE -dBATCH \
-sDEVICE=pdfwrite -sPAPERSIZE=letter \
-dPDFSETTINGS=/printer -dCompatibilityLevel=1.4 \
-dMaxSubsetPct=100 -dSubsetFonts=true \
-dEmbedAllFonts=true -sOutputFile=newfile.pdf \
-f file.pdf
Thursday, November 08, 2007
Subscribe to:
Post Comments (Atom)
1 comment:
这是个好东西,可惜出来得太晚了,论文早写完了。别笑话啊,俺是用Word写的。
Post a Comment