Kaixo! On Wed, Oct 09, 2002 at 01:54:39PM -0700, Dinesh Nadarajah wrote: > I am trying to install TTF fonts on a linux distribution. I think I did > that sucessfully since 'xlsfonts' lists all the fonts I installed. But > when I tried to access these fonts in Gnome for usage in say gedit or > as for the desktop, the fonts are not displayed for selection (by Gnome2 uses Xft for font handling, that is independent of what xlsfonts reports. For it to work with Xft you need: - to have the font in one directory scanned by Xft (look at "dir" lines in /etc/X11/XftConfig) - you need to have the font listed in XftCache file in that directory (you can run "xftcache" to regenerate that file, if needed) > gnome). I have done this with Mandrake 9.0, For the specific tscii support in Mandrake 9.0, it involves some hacks or particular requirements that other encodings and alphabets have not: - for X11 fonts (used by gtk1 programs) the font name must end in *-tscii-0, there is no tool that does it automatically, you need to do it by hand by editing the fonts.dir file and restarting xfs (don't forget to change the first line so the number matches the actual number of following lines) - for Gtk2 default font, it is specified in /etc/gtk-2.0/gtkrc.ta_IN, the gnome applet to change the default and desktop font have no effet, you will need to delete the gtkrc.ta_IN file. (the reason I put that file, is because otherwise the default is to use "sans", and it can't display Tamil, as tscii encoded fonts are in the 0x0080-0x00ff range; that is, without a gtkrc file to overwrite the default font, the display would be done using latin1 letters, instead of Tamil) > Does the locale affect the availability of fonts on a system? Not for Gnome2. -- Ki ça vos våye bén, Pablo Saratxaga http://chanae.stben.be/pablo/ PGP Key available, key ID: 0xD9B85466 [you can write me in Walloon, Spanish, French, English, Italian or Portuguese]
Attachment:
pgpYx2woezIAl.pgp
Description: PGP signature