Click to See Complete Forum and Search --> : RH9 Font problems


Hawg
07-29-2003, 10:00 PM
I'm trying to install the Microsoft True type font rpm. It installs fine. I run ttmkfontdir in the directory where they are installed, add the dir to chkfontpath and restart X. They all show up but they are all messed up in apps that use gtk ( see attatchment). In gtk2 apps the fonts look ok but are smoothed, which I can't stand. Anti alias fonts are hard to read for me so I preffer to gtk1 apps. All of my other fonts look ok for both gtk1 and gtk2 exept the ms ones. Is there something in X4.3 that make the font unreadable when not using gtk2/xft? The same fonts were ok on RH 7.3 with gtk1 apps.

saithan
07-29-2003, 10:29 PM
another way to installs the fonts is to create a directory in your users home named ".fonts".
put all your ms ttfonts inside that directory.
you are done.

the most effected program will be mozilla and konquoror.

redhat will auto use those fonts in the /home/<user>/.fonts directory. and your gtk1 appz will continue to use the redhat default applied fonts.

in your case uninstall the rpm you previously installed.

also if you don't want mozilla to have anti allias fonts you can diable them by editing the /usr/lib/mozilla-1.2/defualts/prefs/unix.js file.
or you can install another mozilla without xft support.

Hawg
07-29-2003, 10:57 PM
Thanks for the reply.

The problem doesn't seem to be in the install. All my apps can see the fonts. I tried your method but got the same thing. All the MS fonts render really bad in GTK1 apps but are ok in GTK2 apps. The version of Mozilla i'm using does not have antialias turned on. It's almost as if the font server is rending the trutype fonts as if they should be antialias so they show up lousy in gtk1 apps, because they don't support it or something.

Here's how they used to show up in RH7.3

Hawg
07-29-2003, 11:41 PM
Ok fixed it. For other to reference..

I ran xdpyinfo

Turns out my display resolution was set to something like 88x79. All messed up basically

I added the -dpi 75 flag to the gdm config file
where it calls the X server. Now

xdpyinfo

screen #0:
dimensions: 1152x864 pixels (390x293 millimeters)
resolution: 75x75 dots per inch
depths (7): 16, 1, 4, 8, 15, 24, 32

And magically my truetype fonts look normal