Problem in rendering indic fonts
- From: bheemesh <bheemesh prodigylabs com>
- To: gtk-i18n-list gnome org
- Subject: Problem in rendering indic fonts
- Date: Fri, 16 Jan 2004 11:18:29 +0600
I have installed gtk+-directfb.2.0.9, and DirectFb-0.9.20 along with
pango-1.2.5 with fontconfig and freetype.
The installation went on fine & example codes are working fine.
But only for english fonts & it's related fonts. But actually i want to run
"indic fonts" on my Gtk+ appln. I have installed all the necessary "locales"
and "fonts" for Indic languages.
But now if run simplest of "calender" example of Gtk+ also, indic fonts are
In fact i tried to set LANG variable to "hi_IN" ( locale for hindi Indic
font). Then when i execute the calender , directly the hindi fonts apear.
But i want to know how to change fonts across indic fonts, at runtime, not by
making use of LANG variable.
Is LANG variable is the only way of changing locale, that is used by Pango,
or Pango does change locale & fonts by any other mechanism.
If Pango uses other mechanism where exactly it searches for locales & fonts
as we have folders by name "locale " and "fonts" at various locations like
"/etc", "usr/share" etc etc. ( I am
Pls suggest me a good link or tutorial which describes how pango is able to
switch across fonts & locales at runtime to run gtk applns with multilingual
I expect a favorable reply at the earliest.
Thank you very much in advance,
Prodigy Labs (P) Ltd.,
] [Thread Prev