On Mar 30, 2012, at 9:18 AM, Jeff Schriebman wrote:

> I need to display the upwards arrow character in a specific position in a 
> view.
> The unicode equivalence is U+2B06 and in UTF-8 it is E2 AC 86.
> 
> I can successfully display it in Xcode on the console using NSLog(@"This is 
> an up arrow character \u2B06");
> 
> I have not found a way to use CGContextShowTextAtPoint to easily display such 
> a character and the examples I have found using CGContextShowGlyphsAtPoint() 
> seem to require me to use a font containing the upwards arrow glyph. Is there 
> a generic all inclusive unicode font? What is the right approach to this 
> issue? Suggestions are appreciated.


Why not just use the string drawing methods that are added to NSString by 
AppKit or UIKit (based on which your using)?
--
David Duncan


_______________________________________________

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

Reply via email to