From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22688 invoked by alias); 22 Mar 2012 14:55:08 -0000 Received: (qmail 22668 invoked by uid 22791); 22 Mar 2012 14:55:04 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,TO_NO_BRKTS_PCNT X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Mar 2012 14:54:51 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.14.3/8.13.7/ROSCH/DDB) with ESMTP id q2MEsiWv014298 for ; Thu, 22 Mar 2012 15:54:49 +0100 Received: from [192.168.5.32] ([192.168.5.32]) by sanders.onevision.de (Lotus Domino Release 8.5.1FP3) with ESMTP id 2012032215543961-123152 ; Thu, 22 Mar 2012 15:54:39 +0100 Message-ID: <4F6B3D2F.10103@onevision.com> Date: Thu, 22 Mar 2012 14:55:00 -0000 From: Roland Schwingel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: insight@sourceware.org Subject: [PATCH] libgui: Adjust windows default fonts Content-Type: multipart/mixed; boundary="------------050207030102060102010702" Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00033.txt.bz2 This is a multi-part message in MIME format. --------------050207030102060102010702 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-length: 881 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 * 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 --------------050207030102060102010702 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="libgui_win_defaults.patch" Content-Disposition: attachment; filename="libgui_win_defaults.patch" Content-length: 997 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] --------------050207030102060102010702--