wineconsole: Don't offer vertical fonts in the font dialog.
This commit is contained in:
parent
b07fb96a23
commit
ed853f93d4
|
@ -357,6 +357,7 @@ BOOL WCUSER_ValidateFont(const struct inner_data* data, const LOGFONTW* lf)
|
||||||
{
|
{
|
||||||
return (lf->lfPitchAndFamily & 3) == FIXED_PITCH &&
|
return (lf->lfPitchAndFamily & 3) == FIXED_PITCH &&
|
||||||
/* (lf->lfPitchAndFamily & 0xF0) == FF_MODERN && */
|
/* (lf->lfPitchAndFamily & 0xF0) == FF_MODERN && */
|
||||||
|
lf->lfFaceName[0] != '@' &&
|
||||||
(lf->lfCharSet == DEFAULT_CHARSET || lf->lfCharSet == g_uiDefaultCharset);
|
(lf->lfCharSet == DEFAULT_CHARSET || lf->lfCharSet == g_uiDefaultCharset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue