wineconsole: Don't offer vertical fonts in the font dialog.

This commit is contained in:
Alexandre Julliard 2013-06-25 18:07:24 +02:00
parent b07fb96a23
commit ed853f93d4
1 changed files with 1 additions and 0 deletions

View File

@ -357,6 +357,7 @@ BOOL WCUSER_ValidateFont(const struct inner_data* data, const LOGFONTW* lf)
{
return (lf->lfPitchAndFamily & 3) == FIXED_PITCH &&
/* (lf->lfPitchAndFamily & 0xF0) == FF_MODERN && */
lf->lfFaceName[0] != '@' &&
(lf->lfCharSet == DEFAULT_CHARSET || lf->lfCharSet == g_uiDefaultCharset);
}