On Mar 30, 2012, at 9:31 AM, Jens Alfke wrote:

> 
> On Mar 30, 2012, at 9:18 AM, Jeff Schriebman wrote:
> 
>> 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.
> 
> I'm not familiar with the CG-level text APIs. But unless they're very 
> low-level indeed, as long as they take Unicode strings you should be able to 
> use arbitrary characters, and the renderer will substitute glyphs from 
> appropriate fonts as needed.

They are in fact very low-level indeed, so ignore them unless you're prepared 
to write your own Unicode layout engine on top of them.  Use the string drawing 
APIs instead. 

Douglas Davidson


_______________________________________________

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