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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

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

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>
Project Member
Mon 16 May 2011 08:42:18 PM UTC, comment #2:

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

Eric Wasylishen <ericw>
Project 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>
Project MemberIn charge of this item.
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>
Project Member

 

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

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    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.3