From f8e457911646d80b64be6d30554334077638ce4d 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. --- wince/cedraw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wince/cedraw.c b/wince/cedraw.c index 56399dd83..6ec8f4ae8 100755 --- a/wince/cedraw.c +++ b/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;