• 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: Cropped Italic Letters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cropped Italic Letters


  • Subject: Re: Cropped Italic Letters
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 23 Feb 2005 21:17:17 -0800

On Wed, 23 Feb 2005 13:58:21 -0800, Jesse Abram <email@hidden>
said:
>Hmm, I see what you mean about the cropping in the dock! The weird
>thing in my case though, is that I am using drawAtPoint:withAttributes,
>not drawInRect:withAttributes to finally do the drawing of the letter,
>and there doesn't seem to be anything in the code that actually
>restricts the size of the draw area

Nevertheless one presumes there is code in there that measures the drawing
size of the (attributed) string and uses this as the rectangle to draw into.

I think there are some pretty deep-seated bugs in the code that does that.
I've seen cropping at the right just when doing an ordinary
sizeWithAttributes (i.e. the size returned was slightly too small) even when
not using italics. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Newbie: Object life within a method scope
  • Next by Date: SOLVED (ish) Re: Cropped Italic Letters
  • Previous by thread: Re: Cropped Italic Letters
  • Next by thread: Problem related to web services
  • Index(es):
    • Date
    • Thread