I just looked at the qt sources and it looks like at the moment it is
impossible to use non-AA and AA fonts at the same time in one application.
This is really bad news, since AA is great for Web pages, but IMHO is
inacceptable for the fonts in Mandrake when using small (<=11) font sizes.

On Fri, 9 Mar 2001, Rob Snow wrote:

> The problem with fonts seems to be that in QT 2.3 you need to have a
> XftConfig file to define your font mappings for QT --> X11.
> 
> To fix todays cooker to make it somewhat usable, do the following:
> 
> * Go to http://keithp.com/~keithp/fonts/ and get truetype.tar.gz and
This could become a big problem. I'm not sure if it has been 
discussed before, but these fonts are really high quality and it
would be helpful to include them in the distribution. The problem is
that there are copyrighted by Microsoft and Distributed under
their EULA. AFAICS, Microsoft does allow the distribution in RPM
format, but it's still political.

> XftConfig
> * untar the truetype.tar.gz into /usr/X11R6/lib/X11/fonts/truetype
> * put the XftConfig file into /etc/X11

The file is already installed in /usr/X11R6/lib/X11/, no need to put
it in /etc/X11/.

> * edit it to make sure it's pointing to the new fonts (has a dir set to
> /usr/X11R6/lib/X11/fonts/truetype)
> * restart X
> 
> Problem with this is that you lose all your drakfonts (windows fonts you've
> added through DrakFont) 

Adding /usr/X11R6/lib/X11/fonts/drakfont to the search path in XftConfig
solves this.

> and the mapping seem pretty bad for some things
> (konsole), BUT it does give you a working framework to make things much
> better and hopefully enumerate what the basic problem seems to be.
> 
There was a source patch on the KDE-devel mailing list for konsole 
and as a temporary fix it is possible to set the font to Unicode.

Arnd <><



Reply via email to