bugGNUstep - Bugs: bug #32845, page contents incorrectly...

Group
 
 

bug #32845: page contents incorrectly positioned when printing with cairo

Submitter:  Eric Wasylishen <ericw>
Submitted:  Fri 18 Mar 2011 11:46:16 PM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 Dec 2013 01:45:35 PM UTC, comment #4: 

Looks like this one is fixed and can be closed.

Markus Hitter <hitterm>
Fri 23 Dec 2011 07:12:45 PM UTC, comment #3: 

I fixed this with this commit:

r34351:
Source/cairo/CairoContext.m (-beginPrologueBBox:...): Use paper size from print info to set the cairo page size, instead of using the bounding box (which is usually smaller than the paper size, and was causing cairo print output to be wrong compared to GNUstep's built-in PostScript writer.)

Eric Wasylishen <ericw>
Group Member
Mon 16 May 2011 08:42:18 PM UTC, comment #2: 

Thanks, it looks a lot closer now :-).

Eric Wasylishen <ericw>
Group Member
Sat 14 May 2011 06:10:30 PM UTC, comment #1: 

I submitted a partial fix for this. This change prevents the display error from propagation and increasing from page to page. Still the position and clipping of the text on the page is wrong and there are other issues with the generated PS as well.

Fred Kiefer <FredKiefer>
Group Member
Fri 18 Mar 2011 11:46:16 PM UTC, original submission:  

I opened the attached RTF file in Ink and used the save button in the Print dialog to save a postscript file, using both the libart and cairo backends.

rtftest-art.ps looks correct.
in rtftest-cairo.ps, the document is clipped incorrectly, and on each page, the page contents move down and to the right. btw, the output looks the same if you have cairo generate a pdf instead of postscript.

GNUstep is at r32649, OS is Ubuntu 10.10, cairo is 1.10.0-ubuntu3

Eric Wasylishen <ericw>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #22966:  rtftest-art.ps added by ericw (348KiB - application/postscript)
file #22967:  rtftest-cairo.ps added by ericw (46KiB - application/postscript)
file #22965:  rtftest.rtf added by ericw (47KiB - text/rtf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hitterm (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by ericw (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-26 FredKiefer Open/ClosedOpen Closed
    2011-12-23 ericw StatusConfirmed Fixed
    2011-05-14 FredKiefer StatusNone Confirmed
        Assigned toNone FredKiefer
    2011-03-18 ericw Attached File- Added rtftest.rtf, #22965
        Attached File- Added rtftest-art.ps, #22966
        Attached File- Added rtftest-cairo.ps, #22967

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code