mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
patch from Peter Rovnak. For Slovak support, need to specify the tray
font by name in order to get one that has all the necessary faces. Seems to make no difference on US/English systems, but it works for him on a localized device.
This commit is contained in:
parent
584e016083
commit
f8e4579116
1 changed files with 1 additions and 0 deletions
|
@ -988,6 +988,7 @@ ceFontsSetup( CEAppGlobals* globals, CEDrawCtx* dctx )
|
|||
XP_MEMSET( &font, 0, sizeof(font) );
|
||||
font.lfHeight = (CE_TRAY_SCALEV*2)/3;
|
||||
font.lfWeight = 600; /* FW_DEMIBOLD */
|
||||
wcscpy( font.lfFaceName, L"Arial" );
|
||||
dctx->trayFont = CreateFontIndirect( &font );
|
||||
|
||||
font.lfWeight = FW_LIGHT;
|
||||
|
|
Loading…
Reference in a new issue