Bug 2054232 - pdf2ps generate extra empty page
Summary: pdf2ps generate extra empty page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Lescak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-14 13:40 UTC by Robert Marcano
Modified: 2022-03-01 09:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-01 09:46:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert Marcano 2022-02-14 13:40:21 UTC
Description of problem:

When converting a PDF to a PostScript file using pdf2ps, and extra empty page is added.


Version-Release number of selected component (if applicable):

ghostscript-9.55.0-3.fc36.x86_64


How reproducible:

Always


Steps to Reproduce:
1. Get a simple PDF
2. Use `pdf2ps <file>.pdf` in order to get a new `<file>.ps`
3. Open the new file with a PostScript viewer, for example Evince
4. Convert it again to PDF with `ps2pdf <file>.ps new.pdf`
5. Open the new PDF

Actual results:

The generated PostScript has a new empty page at the end, in order to discard some kind of problem with the viewer, the PostScript file is again converted to PDF and the final PDF show too the same empty page at the end, not present on the source PDF


Expected results:

No appended extra empty page


Additional info:

This is causing problems with CUPS-PDF and probably any real PostScript too will waste a page added by conversion from PDF to PostScript.

Doing exactly the same on Fedora 35 on the same source PDF, has no problem.

Comment 1 Richard Lescak 2022-03-01 09:46:35 UTC
Hi Robert,

thanks for your report.

Problem was caused by lcms2 package which is now fixed.
With lcms2 2.13.1 there is no extra page generated.


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