Bug 127 - The used font does not match the default Windows font
Status:
RESOLVED FIXED
Component:
GUI :: gtkmm
Version:
1.0.0
Hardware:
PC Windows NT
Importance:
P3 cosmetic
Target Milestone:
---
Assignee:
Raymond Penners
URL:
Depends on:
Blocks:
Reported:
Oct 10 2002 07:19:48 UTC
by:
Kees-Jan Dijkzeul
Modified:
Mar 23 2003 09:08:33 UTC
CC List:
Raymond Penners
IdWhoWhenSizeType
11main window too small
main window too small
Kees-Jan DijkzeulOct 10 2002 07:20:41 UTC31254image/bmp
12Credits box too small
Credits box too small
Kees-Jan DijkzeulOct 10 2002 07:21:26 UTC280854image/bmp
WhoWhenWhatRemovedAdded
Raymond PennersNov 6 2002 11:22:15 UTCccRaymond Penners
Raymond PennersNov 6 2002 11:23:58 UTCassigned_toRob CaelersRaymond Penners
severitynormalcosmetic
summaryWindows too smallThe used font does not match the default Windows font
version0.1.01.0.0
Raymond PennersMar 17 2003 00:44:24 UTCblocks209
Raymond PennersMar 17 2003 00:46:58 UTCstatusNEWASSIGNED
Raymond PennersMar 23 2003 09:08:33 UTCstatusASSIGNEDRESOLVED
resolutionFIXED
Description
Kees-Jan Dijkzeul  Oct 10 2002 07:19:48 UTC
The workrave main window is too small to show that I'm now four hours overdue

The credits box is too small to show Raymonds e-mail addresss
Comment 1
Kees-Jan Dijkzeul  Oct 10 2002 07:20:41 UTC
Created attachment 11
main window too small
Comment 2
Kees-Jan Dijkzeul  Oct 10 2002 07:21:26 UTC
Created attachment 12
Credits box too small
Comment 3
Raymond Penners  Oct 10 2002 08:01:57 UTC
IMHO, this is a Gtk/Win32 bug as it does not seem to respect the font dimensions.
See also the timer preferences: the two digits of the seconds also don't fit,
even though I explicitly requested Gtk to make room for 2 digits.

So, let's just way and see what new future Gtk/Win32 versions do.
Comment 4
Kees-Jan Dijkzeul  Oct 11 2002 00:41:44 UTC
I don't think much will happen. With proportional fonts, this is impossible to
get right. If you take a look at java awt: a text field with space for 5
characters can contain much more. Apparently, Java uses "big" characters for
their computation.

Gtk seems to use "average" characters in their computation, which means you run
out of space if you put big characters (like digits) in there.
Comment 5
Raymond Penners  Oct 11 2002 03:53:48 UTC
Gtk is also supposed to use "big" characters: the Linux version doesn't have
these problems. So, it really is a Gtk/Win32 problem. Gtk/Win32 also defaults to
the wrong font, another bug...
Comment 6
Raymond Penners  Nov 6 2002 11:22:18 UTC
*** Bug 146 has been marked as a duplicate of this bug. ***
Comment 7
Raymond Penners  Nov 6 2002 11:23:58 UTC
Hmm, I just tried this, without any luck:

http://www.ecn.wfu.edu/~cottrell/gtk_win32/#winfont
Comment 8
Raymond Penners  Mar 17 2003 00:46:58 UTC
Gtk-Wimp to the rescue...
Comment 9
Raymond Penners  Mar 23 2003 09:08:33 UTC
Okay, Wimp has been added. Note: I created a runtime-wimp.tar.gz containing only
the Wimp addons, because Wimp most likely changes more often than runtime.tar.gz...