On 10/2/05 12:52 PM, Edward de Jong didst favor us with:
> I have solved many of my problems. It appears that ATSUDrawText will
> not draw into 8-bit GWorlds under OSX (however it does work on OS 9).
>
> The problem I am having now is that for a given ATSU font id, i want
> to draw some sample letters. I tried just using 'abcd' but for many
> foreign fonts they don't contain abcd, and so you get the infamous
> missing character boxes.
>
> How do I determine which characters are valid for a font? I see that
> Adobe InDesign does it for their character palette screen, where they
> show all the valid characters they can find. How does one determine
> the availability of a particular code? There are after all 65000
> unicode values and this sounds slow to build.
Hmm. Sounds like you need to read up on Unicode. There are currently over
95,000 characters defined in the Unicode standard. Unicode is not a 1-to-1
mapping of characters to UniChar values. So if any part of your system is
relying on that assumption, you need to redesign that part. You may want to
consider spending some time with Unicode Demystified. It's a great read and
it will dispel all of your misconceptions.
Larry
_______________________________________________
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