Bug 689914 - Ghostscript page size behavior changed
Summary: Ghostscript page size behavior changed
Status: NOTIFIED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: master
Hardware: All All
: P1 normal
Assignee: Marcos H. Woehrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 03:26 UTC by Marcos H. Woehrmann
Modified: 2008-12-19 08:31 UTC (History)
1 user (show)

See Also:
Customer: 770
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2008-06-21 03:26:32 UTC
The customer reports and I've verified thst starting 
with r7999 the behavior of Ghostscript has changed in 
regards to page size.  Previously the command line below 
would cause ghostscript to generate a page that matched 
the document, now it doesn't (see old.png and new.png, 
attached, to see the old vs. new output, in reduced 
form).

The command line the customer is using:

bin/gs -P- -sDEVICE=pcx24b -dBufferSpace=256000000 -
r600x600 -g14034x19866 -dFIXEDMEDIA -
sOutputFile=test.pcx -dMaxBitmap=1000000 ./580012_H10-
F121_20080609150811.pdf
Comment 1 Marcos H. Woehrmann 2008-06-21 03:27:27 UTC
Created attachment 4140 [details]
580012_H10-F121_20080609150811.pdf
Comment 2 Marcos H. Woehrmann 2008-06-21 03:29:17 UTC
Created attachment 4141 [details]
old.png
Comment 3 Marcos H. Woehrmann 2008-06-21 03:30:03 UTC
Created attachment 4142 [details]
new.png
Comment 4 Marcos H. Woehrmann 2008-06-23 11:10:05 UTC
Changing the priority to P1 since this is an important issue for the customer 
and is a regression.
Comment 5 Alex Cherepanov 2008-06-24 09:30:42 UTC
First, the same effects can be easily reproduced on the screen with the
following command line. -g implies -dFIXEDMEDIA .

   gs -r36 -g842x1192  foo.pdf

Second, I'd rather call the observed effect a progression, not regression.
-g option sets the fixed portrait format and the landscape job get cropped.
Ghostscript does exactly what it was asked to do.

The question is what the user is trying to achieve and how it can be done
using other options. For instance, what's wrong with omitting 
-g14034x19866 -dFIXEDMEDIA ?

If the user need auto-rotation and working media matching policies
Ghostscript can be configured as a sheet media device.
Comment 6 Alex Cherepanov 2008-07-17 09:07:17 UTC
Ray, Marcos, please contact the customer and figure out what the
customer really need.
Comment 7 Alex Cherepanov 2008-08-13 15:37:59 UTC
I think that the current media handling is correct but we need to
help the customer to solve his problem using the current Ghostscript.
But first, we need to figure out what the customer needs.
Comment 8 Ray Johnston 2008-08-21 14:41:21 UTC
Assigning to Marcos to contact the customer.
Comment 9 Marcos H. Woehrmann 2008-09-15 10:59:54 UTC
Alex is in contact with the customer, so I'm closing this.