Click to See Complete Forum and Search --> : how do i change fonts??


saturn-vk
10-10-2002, 03:47 PM
help me out guys.

how do i change fonts in this situation:

the fonts for the menus on some of my programs are really screwy. programs like opera (and others which i dont belive are connected to qt, or less likely - gtk). the fonts are really bad. they are big, aliased (you can clearly see the blocks they are made of, not curvy at all), bold, and just plain ugly.

strange thing is, fonts are just normal in kde. however, i do not use kde, but enlightenment. (tested it with gnome, fonts are screwy there too).

can anyone help me out here?

mdwatts
10-10-2002, 07:06 PM
You can try changing the font order in /etc/X11/XF86Config (-4). Experiment with putting 75dpi before 100dpi or vice-versa.

Install Truetype fonts if you haven't already.

My font section...


Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ghostscript"
EndSection

saturn-vk
10-11-2002, 07:23 PM
i've tried every possible combination, and it doesnt work.

any other suggestions?

mdwatts
10-12-2002, 10:49 AM
Have you installed the TrueType fonts?

fancypiper
10-12-2002, 11:19 AM
True Type Font NHF (http://linuxnewbie.org/nhf/Fonts/Where_Are_My_True_Type_Fonts.html)

mdwatts
10-12-2002, 12:27 PM
mkdir /usr/X11R6/X11/fonts/TrueType

Copy the Windows TT fonts to /usr/X11R6/lib/X11/fonts/TrueType/ and then go to that directory

cd /usr/X11R6/lib/X11/fonts/TrueType/

/usr/sbin/ttmkfdir > fonts.scale

/usr/X11R6/bin/mkfontdir

Add the new font directory to /etc/X11/XF86Config or XF86Config-4 depending on which one your distro uses.

Restart X