mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +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
0fed666438
commit
61959b394a
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…
Add table
Reference in a new issue