How to use X fonts in my GTK appication?



Hi:
I want to use X Server font in my Gtk application, becasuse server font
is much faster.

For example: How can I use the font in pango?
        -misc-fixed-bold-i-normal-*-120-100-100-*-*-*-*

I try to put the following line in my $(sysconfdif)pango/pangox_alias
        
myfont normal normal normal \
        "-misc-fixed-bold-i-normal-*-120-100-100-*-*-*-*"

looks it doesn't work. Anybody can help me?


Thanks.

Tom.








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