bugGNUstep - Bugs: bug #32846, page contents bottom-aligned when...

Group
 
 

bug #32846: page contents bottom-aligned when printing with libart

Submitter:  Eric Wasylishen <ericw>
Submitted:  Fri 18 Mar 2011 11:52:58 PM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 23 Dec 2011 09:23:23 PM UTC, comment #2: 

Hm, that fix broke Graphos, so I reverted it for now :-(

Eric Wasylishen <ericw>
Group Member
Fri 23 Dec 2011 08:33:50 PM UTC, comment #1: 

fixed in r34352:

  • Source/NSView.m (-beginPageInRect:atPlacement:): Always translate

by the placement value. Previously, we would translate only if the
rect parameter was empty, which doesn't make sense to me.
This fixes the bug where the last page of a document printed from
Ink/TextEdit was incorrectly positioned at the bottom of the
printed page.

Eric Wasylishen <ericw>
Group Member
Fri 18 Mar 2011 11:52:58 PM UTC, original submission:  

This is the same test case as [bug #32845] "page contents incorrectly positioned when printing with cairo."

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

The output looks mostly correct, the only problem is the contents of the last page are bottom-aligned when I would expect them to be top-aligned.

I'm not sure if this is a bug in -back or in the printing code in -gui.

GNUstep is at r32649, OS is Ubuntu 10.10

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 #22969:  rtftest-art.ps added by ericw (348KiB - application/postscript)
file #22968:  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 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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-23 ericw StatusFixed Confirmed
    2011-12-23 ericw StatusNone Fixed
    2011-03-18 ericw Attached File- Added rtftest.rtf, #22968
        Attached File- Added rtftest-art.ps, #22969

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code