Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ATSUDrawText and unicode strings are not drawing



I am trying to draw a few unicode characters using ATSUDrawText.

I am trying to draw the letter "A", then the infinity symbol (unicode 221E hex), and then a japanese hiragana character (unicode 3042 hex). I am not getting this string to draw nicely.

I set up a layout and style, and draw the text, and I get the following results:

1) with the font AG old face I get only the letter A

2) with the font Lucida I get only the letter A and the infinity symbol

3) with the font Osaka I get empty boxes

Why can't I get a japanese character with the Osaka font?

What is the deal with ATSUDrawText? Does it need special preparation to draw unicode characters? Is there a font in the apple mac universe that is fully populated so you can guarantee any old character will draw? Or is there a fallback system I can activate?

Surely someone else must have wrestled with this, and I appreciate any tips.

I need to use ATSUDrawText from my carbon program because I want to use rotation capabilities, which it has. And I want to be able to draw all those nifty unicode symbols.


edj

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.