Hi all, I use an open source OpenGL-based library to do some drawing, and sometimes I need to draw some text. This library takes UTF-8 as input and a path to a font file to use. I use [NSFont systemFontOfSize:0.0] and get its path using kCTFontURLAttribute.
This all works great for many characters, but notably fails for Japanese characters (and others). I'm trying to understand why. Could it be that the system font doesn't have every unicode character under the sun? If so, is there a way to choose an NSFont based on the contents of an NSString? Thanks, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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