Re: Disable Font Features (Kerning)
Re: Disable Font Features (Kerning)
- Subject: Re: Disable Font Features (Kerning)
- From: Aki Inoue <email@hidden>
- Date: Wed, 4 Jul 2007 10:27:24 -0700
You can turn font kerning off by specifying 0 to NSKernAttributeName
explicitly.
Refer to the comment in AppKit/NSAttributedString.h.
Aki
On 2007/07/03, at 0:53, Andre Schnoor wrote:
Hi all,
the Cocoa documentation reads /"The Cocoa text system provides
methods to turn kerning off, use the default settings provided with
the font, or tighten or loosen the kerning throughout a selection of
text."/ but I can't seem to find a way to do that (turn kerning off).
Unfortunately, the app I am currently porting to the Mac needs to
know the advances of indiv idual glyphs for its own layout
procedures to work properly. However, proportional (nominal)
character widths are not compatible with kerning.
Is there a recommended way to turn kerning off (for a font or
completely?).
Any advice is appreciated.
Cheers!
Andre
(PS: Sorry if this message arrvived twice. Seems my email provider
nuked the last message)
_______________________________________________
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
_______________________________________________
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