Re: How to obtain paths of laid-out text
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