Re: Disable Font Features (Kerning)
Re: Disable Font Features (Kerning)
- Subject: Re: Disable Font Features (Kerning)
- From: Andre Schnoor <email@hidden>
- Date: Thu, 05 Jul 2007 01:50:28 +0200
Aki Inoue wrote:
Are you using the right rendering mode when querying the individual
glyph widths ?
You can get what NSStringDrawing API uses via [font
screenFontWithRenderingMode:NSFontDefaultRenderingMode].
Aki
Yep I tried that, but the font still delivers odd glyph advances, and I
need integers. Rounding the floats doesn't do it, because the
differences sum up in a longer string, which gets string drawing and
glyph drawing out of sync.
I used [font screenFontWithRenderingMode:
NSFontAntialiasedIntegerAdvancementsRenderingMode] (what a name!), but
the advances are still odd. It doesn't seem that the font is "quantized"
in any way.
Andre
_______________________________________________
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