Re: How to use X fonts in my GTK appication?



Dnia 04-11-2004, czw o godzinie 15:05 -0500, Tom Liu napisał:
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?

Pango no longer supports core X fonts, the only backend (on X, anyway)
is xft nowadays. So whatever you do to pangox.alias file, it's not going
to have any effect on pango

Cheers,
Maciej

-- 
"Tautologizm to coś tautologicznego"
   Maciej Katafiasz <mnews2 wp pl>
         http://mathrick.org




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