• 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: How to obtain paths of laid-out text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to obtain paths of laid-out text


  • Subject: Re: How to obtain paths of laid-out text
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 11 Nov 2014 10:27:02 -0600

On Fri, Nov 7, 2014, at 04:40 PM, Graham Cox wrote:
> In the past, I've obtained bezier paths from laid out text using a
> subclass of NSLayoutManager that overrode the deprecated
> -showPackedGlyphs:length:... method. This method had a nice smooth
> impedance match with [NSBezierPath appendPackedGlyphs:]. The method has
> been deprecated since 10.7, but was still working fine in 10.9. In 10.10,
> this approach broke. The method is still called, but the resulting glyph
> runs include all sorts of extraneous characters which seem to be relics
> of earlier layouts (possibly NSLayoutManager does more aggressive caching
> in 10.10).

What are you actually trying to do? That is, why and to what degree does
it matter when and how often -showPackedGlyphs: is called?

Also, have you tried disabling discontiguous layout?

--Kyle Sluder
_______________________________________________

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: How to obtain paths of laid-out text
      • From: Graham Cox <email@hidden>
References: 
 >How to obtain paths of laid-out text (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: updating NSTextField before spinner animates
  • Next by Date: Re: Weak linking
  • Previous by thread: Re: How to obtain paths of laid-out text
  • Next by thread: Re: How to obtain paths of laid-out text
  • Index(es):
    • Date
    • Thread