Skip to contentSkip to conversation

too small font size in status window

Openvpn-devel JackieKu 1 participant 1 message May 3, 2009

lore
Share & tools
lore

JackieKu

author
#0 lore raw

Hello openvpn-devel,

I think the font size should be increased, the following is part of codes from openvpn-gui (openvpn.c).

     /* Set font and fontsize of the LogWindow */
     charformat.cbSize = sizeof(CHARFORMAT);
     charformat.dwMask = CFM_SIZE | CFM_FACE | CFM_BOLD | CFM_ITALIC | \
                         CFM_UNDERLINE | CFM_STRIKEOUT | CFM_PROTECTED;
     charformat.dwEffects = 0;
     charformat.yHeight = 100;
     strcpy(charformat.szFaceName, "MS Sans Serif");

The line "charformat.yHeight = 100;" is the font size, and it means 5pt. Please see MSDN(http://msdn.microsoft.com/en-us/library/bb787881(VS.85).aspx).

**yHeight**
Character height, in twips (1/1440 of an inch or 1/20 of a printer's point)

5pt is small, isn't it?

Quoted 11 lines · Wenzhuo Zhang
Quoted 8 lines · Matt Wilks
Quoted 3 lines

1. The font size in the status window is too small for both XP and Vista. See
http://web.zhmail.com/screenshot/20080309/OpenVPN_StatusWindow.PNG

I wonder if this has something to do with your Chinese fonts. I haven't seen this on any installations I have made...

All font sentings are factory default in both XP and Vista. This could be an issue for all CJK editions of Windows.