• 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: Kerning Pairs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kerning Pairs


  • Subject: Re: Kerning Pairs
  • From: Aandi Inston <email@hidden>
  • Date: Mon, 13 Oct 2014 10:02:16 +0100

>
> > It sounds like you're trying rrrealllly hard to avoid admitting to
> > yourself that your model code needs to be rewritten.
>
> I don't think so as our model code works just fine when driven from
> Windows V-C that get a font, gets it its outline and mer table and call the
> model.  Beautiful output.
>

Maybe you are both right. See
http://www.microsoft.com/typography/otspec/kern.htm
"NOTE: Apple has extended the definition of the 'kern' table to provide
additional functionality. The Apple extensions are not supported on
Windows. Fonts intended for cross-platform use or for the Windows platform
in general should conform to the 'kern' table format specified here."

So the chances are most fonts for general consumption (but not necessarily
those from Apple) will have the older format even if they have the new one.
You may be rubbish results for Apple fonts, in which case the new Apple
table 'kerx' becomes relevant. You can support both.

Kerx might give better results but that is a trap in itself if you want
cross-platform consistency; your needs might be for consistent layout cross
platform rather than better kerning on one platform. Only you can know this.

>
>
> Is it possible to get the 'kern' table if it exists?


In CTFont Reference see "Getting Font Table Data". Be particularly careful
of endianness.
_______________________________________________

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


References: 
 >Kerning Pairs (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Kerning Pairs (From: Kyle Sluder <email@hidden>)
 >Re: Kerning Pairs (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Kerning Pairs (From: Scott Ribe <email@hidden>)
 >Re: Kerning Pairs (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Kerning Pairs (From: Kyle Sluder <email@hidden>)
 >Re: Kerning Pairs (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Kerning Pairs (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Kerning Pairs
  • Next by Date: Re: NSPopover tear-off problem
  • Previous by thread: Re: Kerning Pairs
  • Next by thread: Custom NSImageView with CALayer for Selection Rect not Scaling...
  • Index(es):
    • Date
    • Thread