List available charset/script of selected font.

How can I list all available font script of selected font into my form?
Thank you in advance.
StingRaY
LVL 15
StingRaYAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AzraSoundConnect With a Mentor Commented:
i know using the EnumFontFamiliesEx api function you can get a list of all the fonts that support a particular charset.  with a little work you should be able to get it to do what you would like.  if you have questions about this function ask me but most info you need is in msdn.
0
 
AzraSoundCommented:
http://www.winmag.com/columns/powertools/ptfonts.htm

It does that and a whole lot more  =)
0
 
StingRaYAuthor Commented:
AzraSound:
I mean each font has its own charset (script) such as "Microsoft Sans Serif" has ANSI_CHARSET, GREEK_CHARSET, THAI_CHARSET, TURKISH_CHARSET and so on.
What I want to know is how can I get all available charset of selected font without using commondialog?
Such as, I select a font named "Tahoma", How can I programmatically list all available charset??
Regards
StingRaY
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
AzraSoundCommented:
oh I am sorry I misunderstood.  perhaps if you found that information stored in registry you can extract it.  i dont know of any apis to extract all charsets of a font either though i think i have seen a c class that does so.  sorry for the confusion.
0
 
StingRaYAuthor Commented:
i don't mind. anyway, thank you for your participate.
0
 
StingRaYAuthor Commented:
Adjusted points from 100 to 130
0
 
StingRaYAuthor Commented:
Okay...
I will check it as my homework...
Anyway, thanks for your valuable time.
I will give you points..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.