views:

94

answers:

1

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?

+1  A: 

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.

plinth
Thanks, But I found that some fonts which support CJK characters return the charset as DEFAULT_CHARSET, like "MS PMincho"
zunyite