• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: bug in drawPageBorderWithSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in drawPageBorderWithSize


  • Subject: Re: bug in drawPageBorderWithSize
  • From: Mark Piccirelli <email@hidden>
  • Date: Fri, 22 Feb 2002 19:31:05 -0800

On Wednesday, February 20, 2002, at 09:52 AM, Andrea Perego wrote:

Hi!

I was just experimenting (struggling? ;-> ) with textviews & printing, when
I read this message by Mark Piccirelli:


The right place to draw page borders and other things in the page's
margins is supposed to be in -drawPageBorderWithSize:. Unfortunately,
there's a bug that prevents text drawn in -drawPageBorderWithSize: from
appearing properly there too (that's why other developers were
attempting to draw page adornments in -beginPageInRect:atPlacement:).

I've been trying to write a footline with

[thestring drawAtPoint:mypoint withAttributes:fontDict];

and it appeared (when it appeared at all) at different positions on the page, even if mypoint.y was kept fixed at a constant value.

I'd like to know more about this bug, and the presumed time it will survive, in order to choose between a work-around or simply postponing the solution, since my app will not be released in the next months.

I think you should probably work around the bug, for two reasons:

 I can't say how long the bug will survive, but Mac OS 10.1.3 has just been released, and it still includes the bug.

 Hopefully your app, when it's been released, will want to run successfully on the copies of Mac OS 10.1.x that are already in users' hands.

Sorry for the inconvenience...

-- Mark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >bug in drawPageBorderWithSize (From: Andrea Perego <email@hidden>)

  • Prev by Date: Re: number formatting
  • Next by Date: Disk Image build in PB
  • Previous by thread: bug in drawPageBorderWithSize
  • Next by thread: Selecting root item of submenu
  • Index(es):
    • Date
    • Thread