Re: [Indic-computing-users] Raghu, ttmkfdir and Code2000
Status: Alpha
Brought to you by:
jkoshy
From: Keyur S. <key...@ya...> - 2002-10-12 07:02:17
|
--- "Tapan S. Parikh" <ta...@ya...> wrote: > > How come raghu font doesnt work with ttmkfdir? Is there a workaround to > use this font in X? > > For now I am using Code2000, but it doesnt look nearly as nice... ;( Unfortunately, ttmkfdir can't generate proper XLFD name for Unicode encoded fonts that fall under Indic range. New programs are being written which will eventually replace ttmkfdir. Meanwhile you can put the following XLFD name for Raghu in your fonts.scale file: raghu.ttf -NCST-Raghindi-medium-r-normal--0-0-0-0-p-0-iso10646-1 > > My next question is that I am now trying to display Unicode Hindi and > Tamil in my GTK-2 application, but Im not sure how can I have it find > the default fonts for those ta_IN and hi_IN locales? Does someone have > an example of a gtkrc file that I should put somewhere? Look for files in /etc/gtk (or /etc/gnome) directory. For newer version of gtk it may be in /etc/gtk-2 directory. Those files are having name gtkrc.[locale_name]. For example, gtkrc.hi_IN or gtkrc.ta_IN. You can specify fontset to be used for a particular locale. Following is an example: # This is sample gtkrc file for hi_IN locale style "gtk-default-hi_IN" { fontset = "raghu, \ -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1" } class "GtkWidget" style "gtk-default-hi_IN" # end of file - Keyur __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com |