[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QT, Xft and KDE "console" font.
From:       Alexey Arzamasov <AArzamasov () kkb ! kz>
Date:       2003-09-16 2:28:14
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 15 September 2003 15:11, James Richard Tyrer wrote:

> If the font isn't in: "/usr/share/fonts", (i.e. If KDE isn't installed with
> KDEDIR=/usr) then add the directory to: "/etc/fonts/local.conf".
>
> For example if KDEDIR=/usr/kde3, then:
>      <fontconfig>
>          <dir>/usr/kde3/share/fonts</dir>
>
> and [as root] run:
> 	fc-cache -v
> and see if it finds the directory and caches the font.
> You may have other problems with Xft configuration.
> Did you build Qt from source?

Yes, I build everything from the source. Actually, this happened when I 
upgraded to RH9 in case to get glibc 2.3+gcc 3.2 'cause I had troubles with 
kdelibs from cvs on gcc 2.96.
Well, the thing I had to say: I already found a workaround for this issue but 
I'm not sure which part of the software is the cause of such behavior.
Xft seems to found the font, but does not recognize it as monospaced. So I 
write the following in the ~/.fonts.conf:

 <match target="pattern" >
  <test name="family" qual="any" >
   <string>console</string>
  </test>
  <edit mode="append" name="family" >
   <string>mono</string>
  </edit>
  <edit mode="assign" name="spacing" >
   <string>mono</string>
  </edit>
 </match>

and this solves the problem. I wonder if it's a fontconfig bug or console 
font's bug? I heard a lot of people have the same incorrect behavior.

- -- 
  Arzamasov Alexey  ICQ 58961246
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Ztc0YnQYd4hpr/wRAqhVAKC9dwtzvVTb8h1ERlqpTduRdVvjTgCfd8vY
GxEPX+pAf3rdQsQBWb1p9+4=
=oqUx
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic