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 Mar 18 23:46:16 2011  
Category: BackendSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Thu Dec 26 13:45:35 2013, comment #4:

Looks like this one is fixed and can be closed.

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

I fixed this with this commit:

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 May 16 20:42:18 2011, comment #2:

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

Eric Wasylishen <ericw>
Project Member
Sat May 14 18:10:30 2011, 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 Mar 18 23:46:16 2011, 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 (47kB - text/rtf)
file #22966:  rtftest-art.ps added by ericw (348kB - application/postscript)
file #22967:  rtftest-cairo.ps added by ericw (46kB - application/postscript)


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to 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
    Thu Dec 26 14:49:31 2013FredKieferOpen/ClosedOpen=>Closed
    Fri Dec 23 19:12:45 2011ericwStatusConfirmed=>Fixed
    Sat May 14 18:10:30 2011FredKieferStatusNone=>Confirmed
      Assigned toNone=>FredKiefer
    Fri Mar 18 23:46:16 2011ericwAttached 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.1-cleanup1