On Sun, 2006-06-25 at 21:21 +0530, Surya Kiran Gullapalli wrote: > Hi, > I'm trying to understand the gtk code. I've a question regarding font > path. > What is the font path, gtk application is looking into when one open a > font selection dialog. > > This question arose, due to the fact that garnome ships with bitstream > vera fonts, and when you install it, it goes into the installation > directory ($PREFIX/share... etc) > But when opened a font selection dialog, it shows all the available > fonts on the machine. > > Also if i'm shipping a new application with a new font, and say, i've > to ship this font also. where should i put that font. Also please let > me know if i need to set any environment variables. Fonts are not GTK specific. On Unix (X11) fonts should be installed to $HOME/.fonts If you install fonts to another place on the system, you need to modify the config file in /etc/fonts/fonts.conf and set up the path. For more information, see the specifications at freedesktop.org (fontconfig). Michael > > > Surya > > _______________________________________________ > > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list