Bug 739869

Summary: Clipping happens on printing a text document from gedit application on Envelope paper size with landscape mode and scale to fit option in print queue properties.
Product: [Fedora] Fedora Reporter: Goutam Kodu <goutam.hplip>
Component: geditAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: rstrode, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 849881 (view as bug list) Environment:
Last Closed: 2012-08-07 18:30:31 UTC Type: ---
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
PPD file none

Description Goutam Kodu 2011-09-20 09:58:02 UTC
Description of problem:Clipping of text document while printing from gedit application


Version-Release number of selected component (if applicable):Ghostscript-9.02 (gstoraster filter)


How reproducible:Open a text document with gedit application.Click on print button in the file tab and select the print driver and select the page setup tab. choose the pagesize #10Envelope and  orientation to be landscape .Click on the print button. 

Steps to Reproduce:
1.Open a text document with gedit application
2.Click on print button in the file tab and select the print driver and select the page setup tab.
3.choose the pagesize #10Envelope and  orientation to be landscape .Click on the print button.
  
Actual results:The output shows that right portion of the text document is clipped.



Expected results:No clipping should happen.


Additional info:The filter chain seen in the cups error_log file is pdftops,gstoraster,hpcups. I producted the raster output of gstoraster filter and viewed it with rasterviewer the clipping was Observed at raster output only.

Comment 1 Tim Waugh 2011-09-20 11:52:22 UTC
Please attach the PPD for this queue.

Comment 2 Goutam Kodu 2011-09-21 04:25:16 UTC
Created attachment 524124 [details]
PPD file

Attached the PPD file.

Comment 3 Tim Waugh 2011-11-02 10:50:06 UTC
This is a bug in gedit (or, perhaps the GTK+ print dialog).

Although the media size for the "#10 Envelope" media is 297pt x 684pt (1pt == 1/72 in), the imageable area is smaller than that:

$ egrep '(Imageable|Dimension).*Env10' hp-photosmart_prem-web_c309n-s.ppd
*ImageableArea Env10/#10 Envelope 4.125x9.5in: "9.00 42.19 288.00 675.00"
*PaperDimension Env10/#10 Envelope 4.125x9.5in: "297.00 684.00"

i.e. 9 points in from the long edges, 9 points in from one of the short edges, and 42.19 points in from the remaining edge.

gedit needs to arrange for its margins to respect those specified in the PPD.

Comment 4 Fedora End Of Life 2012-08-07 18:30:33 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping