Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

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
0
StingRaY
Asked:
StingRaY
  • 4
  • 3
1 Solution
 
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
 
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
StingRaYAuthor Commented:
i don't mind. anyway, thank you for your participate.
0
 
AzraSoundCommented:
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
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now