public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: [PATCH] libgui: Adjust windows default fonts
@ 2012-03-30 10:18 Roland Schwingel
  0 siblings, 0 replies; 3+ messages in thread
From: Roland Schwingel @ 2012-03-30 10:18 UTC (permalink / raw)
  To: Keith Seitz, insight

Hi...

Keith Seitz <keiths@redhat.com> wrote on 30.03.2012 01:24:35:

 > > 2012-03-22 Roland Schwingel<roland.schwingel@onevision.com>
 > > * library/looknfeel.tcl (standard_look_and_feel): Change default
 > > fonts on windows. Default and status font is now Tahoma size 10.
 > > Source font is now Lucida Console size 9.
 > >
 > > Any comments? Is this ok?
 >
 > Ok.
Committed and updated copyright infos as wished.

Thanks,

Roland

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libgui: Adjust windows default fonts
  2012-03-22 14:55 Roland Schwingel
@ 2012-03-29 23:25 ` Keith Seitz
  0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2012-03-29 23:25 UTC (permalink / raw)
  To: Roland Schwingel; +Cc: insight

On 03/22/2012 07:54 AM, Roland Schwingel wrote:
> Changelog:
>
> 2012-03-22 Roland Schwingel<roland.schwingel@onevision.com>
>
> * library/looknfeel.tcl (standard_look_and_feel): Change default
> fonts on windows. Default and status font is now Tahoma size 10.
> Source font is now Lucida Console size 9.
>
> Any comments? Is this ok?

Ok.

Please update the copyright date at the top of the file (and any other 
file that you commit patches to). I believe gdb uses ranges nowadays, so 
"1997-2012" is probably okay. Wow. Cygnus. That should be changed to 
"Red Hat, Inc."

[I've been pretty remiss about monitoring/fixing this.]

Keith

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] libgui: Adjust windows default fonts
@ 2012-03-22 14:55 Roland Schwingel
  2012-03-29 23:25 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Roland Schwingel @ 2012-03-22 14:55 UTC (permalink / raw)
  To: insight

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

Hi...

libgui sets a bunch of default fonts which are giving the UI a quite
heavy/fat look on windows. Attached you find a small patch that uses
smaller fonts on windows. This results in roughly 30% more space in
source view and nicer looking panels. The changed fonts are at least
present since windows NT 4.0 - also since 1996 - so we can use them just
nicely.

Attached you find the small patch. Originally I wanted to attach 2 screenshots
but the mail got rejected by the mailinglist software. If someone is
interested I can send them seperately.

The patch is windows only!

Changelog:

2012-03-22  Roland Schwingel<roland.schwingel@onevision.com>

      * library/looknfeel.tcl (standard_look_and_feel): Change default
      fonts on windows. Default and status font is now Tahoma size 10.
      Source font is now Lucida Console size 9.

Any comments? Is this ok?

Roland



[-- Attachment #2: libgui_win_defaults.patch --]
[-- Type: text/plain, Size: 997 bytes --]

diff -ruN libgui_orig/library/looknfeel.tcl libgui/library/looknfeel.tcl
--- libgui_orig/library/looknfeel.tcl	2002-02-26 02:16:22.000000000 +0100
+++ libgui/library/looknfeel.tcl	2012-03-22 13:44:12.516985900 +0100
@@ -22,11 +22,11 @@
   # The fixed font is guaranteed not to be proportional.
   # The status font should be used in status bars and tooltips.
   if {$tcl_platform(platform) == "windows"} then {
-    define_font global/default -family windows-message
+    define_font global/default -family "Tahoma" -size 10
     # FIXME: this isn't actually a bold font...
     define_font global/bold -family windows-caption
-    define_font global/fixed -family fixedsys
-    define_font global/status -family windows-status
+    define_font global/fixed -family "Lucida Console" -size 9
+    define_font global/status -family "Tahoma" -size 10
     # FIXME: we'd like this font to update automatically as well.  But
     # for now we can't.
     array set actual [font actual windows-message]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-30 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 10:18 [PATCH] libgui: Adjust windows default fonts Roland Schwingel
  -- strict thread matches above, loose matches on Subject: below --
2012-03-22 14:55 Roland Schwingel
2012-03-29 23:25 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).