• 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
NSFont for glyph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFont for glyph


  • Subject: NSFont for glyph
  • From: Richard Salvatierra <email@hidden>
  • Date: Fri, 5 Jan 2007 15:38:08 -0500

I am trying to draw an outline for an attributed String. This string has multiple fonts/colors/styles. Using a layoutManager, I can get the array of glyphs but I need to know its corresponding font in the attributed string. My understanding is that a glyph does not necessarily correspond to a character, as one character could be made up of multiple glyphs and vise versa (?)
I can draw the text using: [layoutManager drawGlyphsForGlyphRange:glyphRange atPoint:textFrameRect.origin]
But how can I stoke that text. I am going down the path of:
[bezier appendBezierPathWithGlyphs:glyphArray count:glyphCount inFont: SomeFont];


-Rich
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSFont for glyph
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: previousResponder?
  • Next by Date: Panel without minimize and maximize widget
  • Previous by thread: Re: previousResponder?
  • Next by thread: Re: NSFont for glyph
  • Index(es):
    • Date
    • Thread