• 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: Breaking underlining on descenders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking underlining on descenders


  • Subject: Re: Breaking underlining on descenders
  • From: Graham Cox <email@hidden>
  • Date: Thu, 14 May 2009 09:36:11 +1000


On 14/05/2009, at 4:19 AM, Benjamin Stiglitz wrote:

You can draw the underline first, then a large point-width stroke in
NSClearColor in copy compositing mode (or alternatively, the wide stroke
& fill used as a negative mask), then the actual fill on top.


OK, sounds feasible, I'll give it a try.

I do note that the standard underlining can't be doing this though, because the ends of the underline are always square, whereas this technique will curve the underline according to the shape of the glyph. I'm also not sure if it's going to shadow the underline correctly. This might be acceptable, and even preferable, but I'm shooting for parity with standard text layout if possible.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Breaking underlining on descenders
      • From: Douglas Davidson <email@hidden>
References: 
 >Breaking underlining on descenders (From: Graham Cox <email@hidden>)
 >Re: Breaking underlining on descenders (From: Benjamin Stiglitz <email@hidden>)

  • Prev by Date: Re: WTF? Is a file corrupted?
  • Next by Date: Re: Menu item and state
  • Previous by thread: Re: Breaking underlining on descenders
  • Next by thread: Re: Breaking underlining on descenders
  • Index(es):
    • Date
    • Thread