Mailing Lists: Apple Mailing Lists

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

What is the correct way to Embed Fonts with Unicode names?



What is the correct way to Embed Fonts with Unicode names?

I want to embed fonts in to my application with the font names being
some unicode names. But later when I do list the fonts with
CreateStandardFontName the name comes some junk characters. During
AddResource to add FOND/sfnt I do pass the font name in UTF8 encoding.
Where exactly do we specify the encoding of this font name so that we
get the name correctly in the menu returned by CreateStandardFontName?
I can see TextEncoding information available in the FontFamilyRef
(FMGetFontFamilyTextEncoding). But I may be embedding any of the
available fonts with a Unicode name. Thank you for any help.

TIA

--
Sam
 _______________________________________________
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.