Is there any way to get the list of asian font? (see http://dl.getdropbox.com/u/61853/FontDialog.jpg)
or how do I know whether a font support asian text or not?
Is there any way to get the list of asian font? (see http://dl.getdropbox.com/u/61853/FontDialog.jpg)
or how do I know whether a font support asian text or not?
For each font that you're interested in:
bool IsFontAsian(Font font)
{
LOGFONT lf = new LOGFONT();
font.ToLogFont(lf);
byte charSet = lf.lfCharSet;
return charSet == 136; // CHINESEBIG5_CHARSET -- probably also want to check others
// such as hangul, korean, vietnamese - it depends on what you consider
// "Asian"
}
MS documentation here, see here for LOGFONT struct definition.