LinuxQuestions.org
Help answer threads with 0 replies.
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 06-13-2005, 12:15 PM   #1
crashmakerMX
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Rep: Reputation: 0
tiny fonts with gtk


i have VERY tiny fonts in all GTK applications. this does not influence QT or GTK+ 2 applications.

Do you have any solutions?
 
Old 06-13-2005, 12:26 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
http://www.muhri.net/nav.php3?node=gts this will not only let you change the theme, but explicitly set a font size.

Last edited by acid_kewpie; 06-13-2005 at 12:27 PM.
 
Old 06-14-2005, 05:12 AM   #3
dabang
Member
 
Registered: May 2005
Location: Germany
Distribution: sidux, Debian, Ubuntu
Posts: 30

Rep: Reputation: 15
As root do

Code:
apt-get install xfonts-base-transcoded msttcorefonts
then restart and you should be done!
 
Old 06-14-2005, 05:47 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
An alternative is to install the package:
gtk2-engines-gtk-qt

Code:
apt-get install gtk2-engines-gtk-qt
This will install an option in KDE Control Center -> Appearance and Themes -> GTK Styles and Fonts. From here you can control the appearance of GTK apps from KDE and make them look similar to QT applications.
 
Old 06-14-2005, 06:05 AM   #5
dabang
Member
 
Registered: May 2005
Location: Germany
Distribution: sidux, Debian, Ubuntu
Posts: 30

Rep: Reputation: 15
Hi Harishankar,

correct me if I'm wrong, but I think that gtk2-engines-gtk-qt has no impact on gtk 1.2 apps? At least it didn't work when had the same problem.
 
Old 06-14-2005, 08:45 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
I think you can also install the GTK 1.x themes from apt-get.

Regards.
 
Old 06-14-2005, 11:25 AM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You can also change the default font and its size for gtk2+ apps by creating a .gtkrc-2.0 file into your home directory (nano .gtkrc-2.0) and making the content of that file to look something like this:
Code:
gtk-font-name = "Bitstream Vera Sans 10"
Some people like Arial better than Bitstream Vera Sans (Arial comes in the "msttcorefonts" package) and with some monitor resolutions the font size 12 may look better than 10.
 
Old 06-14-2005, 12:10 PM   #8
crashmakerMX
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Original Poster
Rep: Reputation: 0
this would only with gtk+ 2 applications, but they were not affected.

i recently did a clean install of Sarge with all X-fonts-* packages and it has done it.

thanks, anyway. I think dabang's way would be the one to go.
 
Old 06-15-2005, 07:18 AM   #9
Artik
Member
 
Registered: Apr 2005
Location: Israel
Distribution: Debian 3.1 Sarge, Ubuntu Breezy
Posts: 223

Rep: Reputation: 30
Try to run from command line
Code:
gnome-settings-daemon
If you see that fonts size are changed to normal - that is solution. It gives correct settings for different things for GTK apps.

This the problem I had and solved it this way.
If it helps then you need to run it on startup of KDE

...................................

EDIT: I assume that you have this problem in KDE not in Gnome?

Last edited by Artik; 06-15-2005 at 07:21 AM.
 
Old 12-02-2005, 05:27 AM   #10
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,116

Rep: Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972
GGGGGGGGRRRRRRRRRRRRR

This just moved the problem.

First, my fonts were conistent throughout all KDE applications, that is, window titles, menus, toolbars had the same font size for all applications. I mean non-GTK apps like Konqueror, KMail, Konsole, KDE Control Panel. At least I assume they're not GTK, because they appeared well. GTK apps like Mozilla, Gthumb, Gnumeric looked awful with HUGE fonts.

Then I installed the gtk2-engines-gtk-qt, and run the gnome-settings-deamon.

Now my GTK apps look wonderful, the first time I can use them. GREAT!

But... now all my other apps like Konqueror, KMail, Konsole and KDE Control Panel (and more) look awful. If I set the fonts right for KMail, the fonts look HUGE (twice as large) in Konqueror. If I set them right for Konqueror, KMail is unreadable becqause the fonts are too small. I mean fonts in the same places, like in the toolbar have this huge size difference.

It looks like now some apps use one library, and other apps the other library to create the font style. I thought all K* applications used Qt. Does it have something to do with apps compiled statically or dynamically against Qt?

Sometimes the fonts I mention do not change right away after I changed the in KDE control center, but after a restart of KDE. I also tried to set the resolution in Xservers to 96 dpi, but to no avail.

While I am happy that I can use Gtk apps, now I should get my Qt apps right again. Who has experienced this as well?

jlinkels
 
Old 12-04-2005, 08:03 AM   #11
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,116

Rep: Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972Reputation: 972
Solved it.

http://www.linuxquestions.org/questi...d.php?t=388934
 
Old 12-04-2005, 08:23 AM   #12
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,440
Blog Entries: 15

Rep: Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438
Tiny fonts? Sounds like "pica envy" to me.
 
  


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
Super Tiny Fonts tenebris Mandriva 4 03-22-2005 12:44 AM
Tiny X fonts flashingcurser SUSE / openSUSE 3 01-13-2005 08:12 AM
Tiny fonts problem yotamk Debian 4 11-10-2004 01:22 AM
Tiny Fonts EmmettHR Mandriva 3 07-01-2004 12:20 PM
tiny fonts in non-gtk apps under gnome after upgrading debian sid ac1980 Linux - General 0 03-08-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration