Bug 63257 - pdfTeX Type1 font embedding is broken
Summary: pdfTeX Type1 font embedding is broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: tetex
Version: skipjack-beta2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-11 19:09 UTC by Tom Moertel
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-12 10:00:02 UTC
Embargoed:


Attachments (Terms of Use)
Kinder, gentler Type1 font embedding patch (11.49 KB, patch)
2002-04-11 19:11 UTC, Tom Moertel
no flags Details | Diff
Patch to RPM spec file (1.04 KB, patch)
2002-04-11 19:14 UTC, Tom Moertel
no flags Details | Diff

Description Tom Moertel 2002-04-11 19:09:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020327

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):


How reproducible:
Always

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.

Additional info:

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.

Comment 1 Tom Moertel 2002-04-11 19:11:09 UTC
Created attachment 53484 [details]
Kinder, gentler Type1 font embedding patch

Comment 2 Tom Moertel 2002-04-11 19:14:39 UTC
Created attachment 53485 [details]
Patch to RPM spec file

Comment 3 Tim Waugh 2002-04-12 09:59:57 UTC
Thanks.  Fixed package is 1.0.7-47.


Note You need to log in before you can comment on or make changes to this bug.