LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-27-2004, 10:52 AM   #1
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Unhappy 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
 
Old 02-27-2004, 01:27 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Fontconfig serves the fonts, not gtk http://www.xfree86.org/4.3.0/fonts2.html
 
Old 02-28-2004, 10:31 AM   #3
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks but still nothing. Let me ask in other form. How to make gtk1.2 to use 92 or 75 dpi fonts?
 
Old 03-06-2004, 12:43 PM   #4
ulrich_e
LQ Newbie
 
Registered: Mar 2004
Location: The Hague, NL
Distribution: Debian/Knoppix
Posts: 3

Rep: Reputation: 0
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
 
Old 03-06-2004, 06:08 PM   #5
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
Old 03-07-2004, 03:44 AM   #6
ulrich_e
LQ Newbie
 
Registered: Mar 2004
Location: The Hague, NL
Distribution: Debian/Knoppix
Posts: 3

Rep: Reputation: 0
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
 
Old 03-07-2004, 04:05 PM   #7
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
That doesn't work either
 
Old 06-14-2004, 06:41 AM   #8
zero0w
Member
 
Registered: Aug 2003
Posts: 76

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
switch from gtk1.2 to gtk 2.9 ?! cyu021 Linux - Software 2 11-03-2005 03:02 PM
TTF fonts and GTK1/2 lp449 Linux - Software 1 03-05-2005 09:22 AM
Gtk1 to Gtk2 jev-bird Linux - Software 0 08-12-2004 02:23 AM
small font in gtk1.2 54d1 Linux - Software 1 05-22-2004 05:25 PM
Gnome2 and gtk1.2 setup Belegdol Linux - Software 0 11-19-2003 08:32 AM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration