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:
ehouse 2006-08-16 01:29:21 +00:00
parent 584e016083
commit f8e4579116

View file

@ -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;