Fonts in gtk1.2
I don't know how to change the size of fonts that are used by gtk1.2. I need 92dpi or 75dpi fonts, the ones now are very big. I'm using SID
|
Fontconfig serves the fonts, not gtk http://www.xfree86.org/4.3.0/fonts2.html
|
Thanks but still nothing. Let me ask in other form. How to make gtk1.2 to use 92 or 75 dpi fonts?
|
Try 'apt-get install gtk-theme-switch' it's a gui tool to let you switch themes and also choose fonts and their sizes. You'll get switch and switch2 for GTK1 and GTK2 applications respectively in /usr/bin. This should solve your problems by choosing smaller font sizes, there is even a preview.
Regards, Ulrich |
I tried but nothing. gtk-theme-switch is not working, specially with fonts. i think that i should change 100dpi to 92 in some conf file, but I don't know in wich one
|
The conf file you should change then is /etc/X11/X86Config-4. There is a 'Section "Files"' in which the path to your fonts is described and 75 dpi and 100 dpi fonts are mentioned. Make sure that the 75 dpi fonts are mentioned first (before the 100 dpi fonts) since XFree86 uses the first fonts it can find.
Here is a sample of my /etc/X11/XF86Config-4 file: Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/PEX" # Additional fonts: Locale, Gimp, TTF... Regards, Ulrich |
That doesn't work either
|
You can see if the How-To can help you:
How-To: Modifying UI font of gtk1 and gtk2 application http://www.linuxquestions.org/questi...hreadid=191124 |
All times are GMT -5. The time now is 07:21 AM. |