• 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: Disable Font Features (Kerning)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Disable Font Features (Kerning) (From: Andre Schnoor <email@hidden>)
 >Re: Disable Font Features (Kerning) (From: Aki Inoue <email@hidden>)
 >Re: Disable Font Features (Kerning) (From: Andre Schnoor <email@hidden>)
 >Re: Disable Font Features (Kerning) (From: Aki Inoue <email@hidden>)

  • Prev by Date: Re: Disable Font Features (Kerning)
  • Next by Date: Re: Simple authorization question
  • Previous by thread: Re: Disable Font Features (Kerning)
  • Next by thread: Core Data and Document Packages
  • Index(es):
    • Date
    • Thread