Commit ed853f93 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent b07fb96a
...@@ -357,6 +357,7 @@ BOOL WCUSER_ValidateFont(const struct inner_data* data, const LOGFONTW* lf) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment