Bug 1090975

Summary: Poppler embeds PFB fonts into PostScript files wrong
Product: Red Hat Enterprise Linux 7 Reporter: Marek Kašík <mkasik>
Component: popplerAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: jkoten, mclasen, mdshaikh, tpelka
Target Milestone: rc   
Target Release: 7.2   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Poppler library doesn't remove headers specific to PFB format (Printer Font Binary) of Type1 font from fonts which were used as substitutiond of fonts used in input PDF file when converting it to a PostScript file. Consequence: Resulting PostScript file is syntactically wrong. Fix: Remove the headers before encoding and embedding the Type1 PFB fonts to the PostScript file. Result: The resulting PostScript file is syntactically correct.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 08:11:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix PFB font embedding none

Description Marek Kašík 2014-04-24 13:58:33 UTC
Created attachment 889286 [details]
Fix PFB font embedding

Description of problem:
Exporting a PDF which uses a system PFB font as a substitution of a font which was not embedded in it can produce syntactically wrong PostScript file.
This was already fixed upstream and the fix is available since poppler-0.24.3 (see the attached patch).


Version-Release number of selected component (if applicable):
poppler-0.22.5-6.el7


How reproducible:
Always.


Steps to Reproduce:
1. get https://bugzilla.redhat.com/attachment.cgi?id=884959
2. run "pdftops noembed.pdf noembed.ps"
3. open the noembed.ps by executing "gs noembed.ps"


Actual results:
Syntax error.


Expected results:
The file opens and looks like the noembed.pdf.


Additional info:
See https://bugzilla.redhat.com/show_bug.cgi?id=1086182

Comment 2 RHEL Program Management 2014-05-02 05:47:49 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 10 errata-xmlrpc 2015-11-19 08:11:24 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-2220.html