From 61959b394ae7d6cf7ba49ca08a2a0eb9685236e8 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 16 Aug 2006 01:29:21 +0000 Subject: [PATCH] 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. --- xwords4/wince/cedraw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/wince/cedraw.c b/xwords4/wince/cedraw.c index 56399dd83..6ec8f4ae8 100755 --- a/xwords4/wince/cedraw.c +++ b/xwords4/wince/cedraw.c @@ -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;