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: BackendSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned 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:

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
  • -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 26 Dec 2013 02:49:31 PM UTCFredKieferOpen/ClosedOpen=>Closed
    Fri 23 Dec 2011 07:12:45 PM UTCericwStatusConfirmed=>Fixed
    Sat 14 May 2011 06:10:30 PM UTCFredKieferStatusNone=>Confirmed
      Assigned toNone=>FredKiefer
    Fri 18 Mar 2011 11:46:16 PM UTCericwAttached 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