RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1232210 - /usr/bin/pdftops generates invalid postscript file
Summary: /usr/bin/pdftops generates invalid postscript file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: poppler
Version: 6.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Marek Kašík
QA Contact: Desktop QE
Jana Heves
URL:
Whiteboard:
Depends On:
Blocks: 1172231 1241488 1271696 1289489
TreeView+ depends on / blocked
 
Reported: 2015-06-16 09:52 UTC by Siteshwar Vashisht
Modified: 2019-09-12 08:32 UTC (History)
5 users (show)

Fixed In Version: poppler-0.12.4-8.el6
Doc Type: Bug Fix
Doc Text:
pdftops now generates valid PostScript files Previously, the pdftops utility of Poppler converted PDF files with embedded PostScript Type 1 fonts in the Printer Font Binary (PFB) format together with the PFB headers. As a consequence, incorrect PostScript files were produced from such conversions. Poppler has been fixed to recognize the PFB headers and exclude them from the conversion, and the described problem no longer occurs.
Clone Of:
: 1241488 1289489 (view as bug list)
Environment:
Last Closed: 2016-05-10 20:48:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 19747 0 None None None Never
Red Hat Product Errata RHBA-2016:0799 0 normal SHIPPED_LIVE evince and poppler bug fix update 2016-05-10 22:37:49 UTC

Description Siteshwar Vashisht 2015-06-16 09:52:23 UTC
Description of problem:
/usr/bin/pdftops generates invalid postscript file. Below error is logged while opening file with ghostscript :

    GPL Ghostscript 9.15 (2014-09-22)
    Copyright (C) 2014 Artifex Software, Inc.  All rights reserved.
    This software comes with NO WARRANTY: see the file PUBLIC for details.
    Error: /syntaxerror in (bin obj seq, type=128, elements=1, size=61698, non-zero unused field)
    Operand stack:
    
    Execution stack:
       %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2
       %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1
       %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %oparray_pop   1934   1   3
       %oparray_pop   1820   1   3   %oparray_pop   --nostringval--
       %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2
       %stopped_push   --nostringval--
    Dictionary stack:
       --dict:1178/1684(ro)(G)--   --dict:0/20(G)--   --dict:84/200(L)--   --dict:66/75(L)--
    Current allocation mode is local
    Current file position is 11024
    GPL Ghostscript 9.15: Unrecoverable error, exit code 1


Version-Release number of selected component (if applicable):
poppler-utils-0.12.4-3.el6_0.1.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Download attached pdf file
2. Execute '/usr/bin/pdftops 20-200002-001.PDF'
3. Open file using ghostscript 'gs 20-200002-001.ps'

Actual results:
ghostscript exits due to unrecoverable error

Expected results:
ghostscript should show .ps file

Additional info:
This error is not reproducible if ghostscript is used as backend (instead of poppler) to generate .ps file.

Comment 2 Marek Kašík 2015-06-24 12:54:58 UTC
The problem here is that the Type1 font embedded in the PDF is in PFB format and includes PFB headers which are not removed before embedding the font again to the resulting PostScript file.

I've prepared a patch which fixes the problem for me and attached it here:

https://bugs.freedesktop.org/show_bug.cgi?id=19747

I would like to have upstream's opinion on the patch so I'll wait with devel_ack.

Comment 3 Marek Kašík 2015-07-09 09:33:03 UTC
The patch was accepted by upstream so I'm giving this bug devel_ack+.

Comment 13 errata-xmlrpc 2016-05-10 20:48:48 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-2016-0799.html


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