Re: How Do I Invoke My Shaper?



On Tue, 29 Jan 2002, Eric Mader wrote:

> I've got my indic-xft shaper to build, and now I find that I can't figure 
> out how to invoke it.

To use Xft backend, you need to export GDK_USE_XFT=1
and Xft stores its font path in /etc/X11/XftConfig

Copy XftConfig from 
http://keithp.com/~keithp/fonts/XftConfig

add dir where your fonts are stored to the file
and run xftcache

also, you could specify multiple families for an alias, so that if you
specify 

match any family == "sans" 		edit family += "Verdana";
match any family == "sans" 		edit family += "Mangal";

if will render with Verdana, and if unable, fallback to Mangal.
( http://mail.gnome.org/archives/gtk-i18n-list/2002-January/msg00012.html  )

you can specify default font used by gtk+ in .gtkrc-2.0
such as by putting this 

style "default"
{
   font_name = "sans 12"
}

class "*" style "default"

in .gtkrc-2.0

so, text would use verdana falling back to mangal by default.

-- 
Amardeep Singh
981101 CSE Dept.
IIT Guwahati






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]