MultiLanguage support

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

 



Around 16 o'clock on Jan 19, pallavi elkawar wrote:

> I have installed true type fonts to support above languages. how do I use
> fontconfig in my application, so that it will load most matching font
> files? do I need to call fontconfig in my application? 

It depends on what mechanism you are using to draw the text.  If it's a
Gtk+ application using Pango, then (I believe) Pango has functions you can
use to set the language of various portions of the document.  I don't 
know, but suspect that Qt provides similar functions.

If you are building a raw X application using Xft, I would first suggest
that you reconsider and use one of the two toolkits mentioned above, 
failing that, you can specify the text language in the pattern passed to 
Xft.  If you don't specify anything, Xft will use the current locale 
setting as a guess as to the document language.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20050119/b24df015/attachment.pgp

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux