Red Hat Bugzilla – Bug 63257
pdfTeX Type1 font embedding is broken
Last modified: 2007-04-18 12:41:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Description of problem:
When pdfTeX embeds Type 1 fonts into the PDF documents it creates, it does so in
a manner that, while theoretically allowable under the Type 1 spec, is "broken"
according to the friendly folks at Adobe. The theoretical nature of this
breakage has become a physical reality in Adobe's revised Acrobat products.
Using Acrobat Reader 5 to print a pdfTex-created document that contains embedded
Type1 fonts, for example, results in page barf when printed on a Postscript
printer. (Luckily, a patch appeared a few months ago on the pdftex mailing
list, and it solves the problems.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a latex document that uses a Postscript font that is not one of the
standard "Adobe 13" built into PDF-reading products. Use, for example, Utopia,
which comes with Red Hat Linux.
2. Create a PDF file from the document via pdflatex.
3. Open the document with Acrobat Reader 5 and print it to a Postscript printer.
4. Marvel at the output's barf-like nature.
Actual Results: Pages contain a horribly barf-like combination of type drawn
from the "Adobe 13" fonts. Not Utopia.
Expected Results: Pages, beautifully typeset in Utopia, reflect photons
lovingly into the eyes of the beholder.
Tom Kacvinsky posted a patch for this problem to the pdftex mailing list on 20
June 2001. http://www.tug.org/pipermail/pdftex/2001-June/001225.html It's a
long thread. You'll have to back up a few levels to read it all.
Bottom line: The patch works. I added it to your tetex-1.0.7-45.src.rpm,
rebuilt the RPMs, and -- bazaam! -- all problems solved.
Note that the patch that Tom posted must be applied twice, once to each copy of
writet1.c in your pdftex-20010417.tgz tarball. I simply duped the hunks in the
patch, and edited the headers so that the one patch would apply to both files.
I'll attach my doubled-up version of Tom's patch plus my patch to your .spec
file that incorporates the former.
Created attachment 53484 [details]
Kinder, gentler Type1 font embedding patch
Created attachment 53485 [details]
Patch to RPM spec file
Thanks. Fixed package is 1.0.7-47.