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





-----Original Message-----
From: gtk-app-devel-list-bounces gnome org [mailto:gtk-app-devel-list-
bounces gnome org] On Behalf Of Maciej Katafiasz
Sent: Thursday, November 04, 2004 5:19 PM
To: Tom Liu
Cc: gtk-app-devel-list gnome org
Subject: 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

Then how do I use the Xserver font? The Xclient font is more than 100
times slow.

I know some font in pango is faster than others. For example: 
On my system. Font Fixed is much faster than font Sans.
From what I know, the Fixed font is on the XServer side. that why.

Thanks.

Tom.






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