On Sun, Oct 12, 2014, at 08:36 AM, Raglan T. Tiger wrote:
> My task is to make the Mac view and controller to capture the selected
> font. The rendering of the font is all good. So now I just need kerning
> data that I can put into a KERNINGPAIR structure and my task is complete. 

That's a means, not an end. The purpose of your program isn't to extract
kerning information. The question now thrice posed to you: what does
your program *do* that involves kerning information?

> 
> I have read the reference from Kyle that describes the 'kerx' extended
> kerning table which is supported on OS X 10.7 and iOS 7 onward. Our
> deployment is 10.5 and greater.
> 
> I suspect that the 'kern' table will give what I need. 
> 
> How does one get a pointer to a 'kern' table for a specified font?


Not all fonts have a 'kern' table, so this is not the way forward.

It sounds like you're trying rrrealllly hard to avoid admitting to
yourself that your model code needs to be rewritten.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to