getting fonts of particular scripts (=languages)

Hello,
on the Mac, by using declares, I can make a list of fonts supporting, for example, only Bengali (bn) or Hindi (hi) scripts.

Does anybody know how to achieve it in Windows?
BTW, I had a look at WFS: it has got “FontWFS” classes in the Graphics folder; but I’m not experienced enough to have it work. May be somebody can see and help me?

Being a free app, I would not take into consideration using plugins.

Thanks.

I can’t really help you, but there is something in a font file that indicates the script - if you open your fonts folder you see a column “Designed for”. I don’t know if this is the same as the “charset” in FontWFS, which is in any event a bit beyond me too.

Maybe Michel can help - he is a font boffin.

I Windows I think it is called “Target Script”, and my hope was to find something like it among the various items in FontWFS.
Thanks for answering.

I don’t think WFS contains anything that can do what you want.

You want to start here : https://msdn.microsoft.com/en-us/library/windows/desktop/dd374089(v=vs.85).aspx

What you need is probably in function prototype.

I never needed it, so unfortunately I have no code to share.

Anyway, thank you for answering.

Unfortunately its not in the WFS.

Define the charset you need in

LOGFONT

then call

EnumFontFamiliesEx

I think that is what you need?

Thank you, Julian, for pursuing the matter.
From the descriptions given, I’d say that that could be the way go; for instance, since I know that “Vrinda” font is used for Bengali (“bn”), I’d test and see if “bn” is buried somewhere.
But as I said, I am not expert enough to deal with these intricacies.