Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 688996 - Incorrect spacing with a CIDType2 font with a gsub table
Incorrect spacing with a CIDType2 font with a gsub table
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ghostscript (Show other bugs)
5.6
All Linux
high Severity high
: rc
: ---
Assigned To: Tim Waugh
Desktop QE
: Patch, Regression, ZStream
: 694649 (view as bug list)
Depends On:
Blocks: 719046 668957 695766 734767
  Show dependency treegraph
 
Reported: 2011-03-18 14:29 EDT by Kal McFate
Modified: 2012-02-21 01:47 EST (History)
6 users (show)

See Also:
Fixed In Version: ghostscript-8.70-7.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 695766 (view as bug list)
Environment:
Last Closed: 2012-02-21 01:47:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Reproduction sample (480.41 KB, application/pdf)
2011-03-18 14:29 EDT, Kal McFate
no flags Details
ghostscript-charspacing.patch (591 bytes, patch)
2011-04-12 11:57 EDT, Tim Waugh
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Ghostscript 691692 None None None Never
Red Hat Product Errata RHBA-2012:0284 normal SHIPPED_LIVE ghostscript bug fix and enhancement update 2012-02-20 10:05:52 EST

  None (edit)
Description Kal McFate 2011-03-18 14:29:31 EDT
Created attachment 486299 [details]
Reproduction sample

Description of problem:
Since last update, ghostscript does not properly render certain pdf files.
 from 8.15.2-9.11.el5, to 8.70-6.el5

Version-Release number of selected component (if applicable):
8.70-6.el5

How reproducible:
Please see attachment. Renders fine in 8.15.2-9.11.el5 and 9.01-1.fc15, corrupted in 8.70-6.el5 and 8.71-16.fc14.x86_64.
Comment 1 Tim Waugh 2011-03-23 12:26:20 EDT
Confirmed.  The spacing of the lettering is completely out.

Comparison of -dDEBUG output between 8.70-6.el5 and 9.01-1.fc15 shows that 9.01-1.fc15 (which gets it right) has extra FAPI debugging output:

FAPIhook DIN-LightAlternate
Trying to render the font Font DIN-LightAlternate with FAPI...
Font DIN-LightAlternate is being rendered with FAPI=FreeType
[...]
FAPIhook DIN-LightAlternate
Font DIN_LightAlternate is mapped to FAPI=FreeType
Comment 2 Tim Waugh 2011-03-23 12:31:59 EDT
Trying the Resource/Init/gs_fapi.ps from 9.01 as a drop-in replacement has no discernable effect.  Will need to try bisecting between the two revisions to see when/why/how it was fixed.
Comment 3 Tim Waugh 2011-04-11 08:30:55 EDT
May be related to bug #694649.
Comment 4 Tim Waugh 2011-04-12 11:44:11 EDT
*** Bug 694649 has been marked as a duplicate of this bug. ***
Comment 5 Tim Waugh 2011-04-12 11:57:08 EDT
Created attachment 491523 [details]
ghostscript-charspacing.patch

Patch from upstream bug.
Comment 13 errata-xmlrpc 2012-02-21 01:47:08 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0284.html

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