Mailing Lists: Apple Mailing Lists

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

how to determine avail chars in a font?



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.

A perfect example of this is the font "Zapf Dingbats" which has no mapping for a, b, c, but ITC Zapf Dingbats (an old postscript font I have) does map a,b,c.



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.