Re: GTK 2.0 5 times slower than 1.2



tor 2002-06-13 klockan 18.47 skrev ERDI Gergo:
> On Thu, 13 Jun 2002, James Henstridge wrote:
> 
> > This is probably due to listing all the fonts on the server.  You should 
> > get faster startup times using the Xft backend for Pango (export 
> > GDK_USE_XFT=1).
> 
> How does one get that to work?
> Although I have basic TrueType fonts installed, for some reason, a Type1
> font (arnoldboecklin) is used by GTK+ when running in Xft mode.
> This is despite "arial", times new roman" and "courier new" specified in
> /etc/pango/pangoft2.aliases. /etc/pango/pangorc's PangoFT2 section
> contains the correct path to the TrueType fonts.
> So, what's going on here?

Make sure that your /etc/X11/XftConfig contains a line with the truetype
directory. Somthing like:

dir "/usr/X11R6/lib/X11/fonts/TrueType"

Cheers,
Jörgen





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