[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] Fonts in mldonkey_gui
From: |
Jose Romildo Malaquias |
Subject: |
Re: [Mldonkey-users] Fonts in mldonkey_gui |
Date: |
Tue, 8 Apr 2003 20:52:49 -0300 |
User-agent: |
Mutt/1.5.4i |
On Tue, Apr 08, 2003 at 07:28:37PM -0300, Jose Romildo Malaquias wrote:
> On Tue, Apr 08, 2003 at 04:47:17PM -0400, Joe Hill wrote:
> > If mldonkey is a gtk2 app, shouldn't it be using the same fonts as
> > your other gtk2 apps? Take a look in your ~/.gtkrc-2.0 for references
> > to fonts.
>
> No. mldonkey_gui is a gtk+-1.2 application. I have configured the font
> to use with gtk+-1.2 applications by putting
>
> style "user-font"
> {
> fontset = "-microsoft-verdana-medium-r-normal-*-*-140-*-*-p-*-*"
> }
> widget_class "*" style "user-font"
>
> in my gtk+ configuration file. This configuration does work for
> mldonkey_gui interface, except for the Console, which seems to
> use a fixed width font. Does anybody knows what else have to
> be done to change the Console font?
>
> > On Tue, 8 Apr 2003 16:05:00-0300 Jose Romildo
> > Malaquias<address@hidden> wrote:
> >
> > > How do configure the font used in the Console in mldonkey_gui?
> > > The default one is too smool in my system.
I have not noticed that there are two mldonkey_gui programs: one for
gtk+-1.2 and another for gtk+-2. In fact mldonkey_gui2 (for gtk+-2)
use the theme font for the console. But mldonkey_gui (for gtk+-1.2)
uses a hardcoded font. The attached patch changes it from "fixed"
to "10x20", a beter sized font for my screen.
Romildo
--
Prof. José Romildo Malaquias address@hidden
Departamento de Computação address@hidden
Univ. Federal de Ouro Preto http://uber.com.br/romildo
mldonkey.console-font.patch
Description: Text document