Module: wine Branch: master Commit: ed853f93d40d342cc8cf33f7fe61a9739f36d294 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed853f93d40d342cc8cf33f7fe...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 25 18:07:24 2013 +0200
wineconsole: Don't offer vertical fonts in the font dialog.
---
programs/wineconsole/user.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index 9b8ad15..5c8c2c0 100644 --- a/programs/wineconsole/user.c +++ b/programs/wineconsole/user.c @@ -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); }