• 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
bug in drawPageBorderWithSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in drawPageBorderWithSize


  • Subject: bug in drawPageBorderWithSize
  • From: Andrea Perego <email@hidden>
  • Date: Wed, 20 Feb 2002 18:52:28 +0100

Eudora crashed while sending the following message. Therefore, I'm sending it again. Please forgive me if this should cause a double posting.





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.

TIA

Andrea Perego
University of Florence - Phys. Dept.


--
Prof. Andrea Perego
University of Florence - Phys. Dept.
Istituto Nazionale di Fisica Nucleare - Firenze
L.go E. Fermi 2 50134 Florence - Italy
+39 055 2307671
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: bug in drawPageBorderWithSize
      • From: Mark Piccirelli <email@hidden>
  • Prev by Date: Re: NSMatrix: which selectors?
  • Next by Date: Re: Accessor called once, fires twice
  • Previous by thread: Re: NSConnection hostname
  • Next by thread: Re: bug in drawPageBorderWithSize
  • Index(es):
    • Date
    • Thread