bugGNUstep - Bugs: bug #22591, Printing not working properly...

 
 

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

bug #22591: Printing not working properly...

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Fri 14 Mar 2008 12:12:38 PM UTC  
 
Category: Gui/AppKitSeverity: 4 - Important
Item Group: BugStatus: Works For Me
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Tue 18 Mar 2008 01:06:26 AM UTC, comment #3:

I found what I believe to be the correct fix. The problem was that translation was happening to early in beginPage:.. and that we are calling lockFocusIfCanDrawInContext which is causing an incorrect cliprect postscript call to be generated.

I have tested this in Ink and in Gorm printing various things. Please test this and let me know if any issues.

Thanks, GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Mon 17 Mar 2008 06:23:21 PM UTC, comment #2:

I am currently working on removing the kludge I added from the printing logic. As far as I can tell the issue is in NSPrintOperation _print or _adjustPagesFirst:...

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Mon 17 Mar 2008 09:28:41 AM UTC, comment #1:

After using the "kludge" Gregory still found problems when printing his testfile, I identified them as being only related to images and text-only files printed instead correctly. Subsequently Gregory made images printing correct.
Thus with the "kludge" RTF and RTFD documents print pretty decently. Finding a good solution for the kludge would mean get printing to a good level for the coming release.

Riccardo Mottola <rmottola>
Project Member
Fri 14 Mar 2008 12:12:38 PM UTC, original submission:

When printing the clipping rect is too large and is causing the generated postscript to produce only part of the page.

This appears to be due to a change in _lockFocusInContext:. I made a change which appears to correct it by taking the code for DPSrectclip out of GSStreamContext. This appears to fix the issue, but I don't think it's the correct fix.

Riccardo and I looked into this and found that if we move back to r24663 in the repository that printing works.

The test for this is simple, open Ink.app type a few things on the first and hit preview. You should get a blank page. If you then type more down the page's length and then print you will see in preview a partial page.

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rmottola (Posted a comment)
  • -unavailable- added by gcasa (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Mar 2008 10:29:02 PM UTCrmottolaStatusReady For Test=>Works For Me
      Open/ClosedIn Test=>Closed
    Tue 18 Mar 2008 01:06:26 AM UTCgcasaStatusConfirmed=>Ready For Test
      Assigned toNone=>gcasa
      Open/ClosedOpen=>In Test
    Mon 17 Mar 2008 09:28:41 AM UTCrmottolaStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1