On 10/01/2008, Antonio Sanguigni <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having some issues with gtk1 fonts under Xfce. I mean, Lazarus seems to
> ignore xfce settings and I have a big fonts into my ide. Now, I'm trying to
Xfce used GTK2, so that will not affect Lazarus compiled with GTK1.
GTK1 uses a different way to set fonts.
For example, on my Ubuntu 7.10 setup I have the following in my $HOME
directory. Create a ".gtkrc" file and include the something like the
following.
--------------[ .gtkrc ]------------------------
include "/usr/share/themes/Bluecurve/gtk/gtkrc"
style "user-font"
{
fontset="-adobe-helvetica-medium-r-normal--*-120-100-100-*-*-iso8859-1"
}
widget_class "*" style "user-font"
------------------[ end ]-----------------------
Note: Some systems also look for the ".gtkrc-1.2-gnome2" file.
Because of that, I created a symlink with that name, pointing to my
".gtkrc" file.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives