LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   tiny fonts with gtk (https://www.linuxquestions.org/questions/debian-26/tiny-fonts-with-gtk-333124/)

crashmakerMX 06-13-2005 12:15 PM

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?

acid_kewpie 06-13-2005 12:26 PM

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

dabang 06-14-2005 05:12 AM

As root do

Code:

apt-get install xfonts-base-transcoded msttcorefonts
then restart and you should be done!

vharishankar 06-14-2005 05:47 AM

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.

dabang 06-14-2005 06:05 AM

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.

vharishankar 06-14-2005 08:45 AM

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

Regards.

Dead Parrot 06-14-2005 11:25 AM

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.

crashmakerMX 06-14-2005 12:10 PM

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.

Artik 06-15-2005 07:18 AM

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?

jlinkels 12-02-2005 05:27 AM

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

jlinkels 12-04-2005 08:03 AM

Solved it.

http://www.linuxquestions.org/questi...d.php?t=388934

MensaWater 12-04-2005 08:23 AM

Tiny fonts? Sounds like "pica envy" to me. :D


All times are GMT -5. The time now is 10:58 AM.