Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2006
Small font antialiasing on Linux with Qt 4.2


Message 1 in thread

I have installed Qt 4.2.0 and then Qt 4.2.1. With these new versions, in 
Linux (Mandriva 2005 and Suse 10.0), fonts under 14 points are not 
antialiased.
Using the previous versions (4.1.x or 3.x.x) or the new version in 
Windows, I have no problems.
Why this? Is there some configuration anywhere?

--
 [ signature omitted ] 

Message 2 in thread

Am 02. November 2006 um 10:04:11 +0100 schrieb Stefano Rosellini:

> I have installed Qt 4.2.0 and then Qt 4.2.1. With these new versions, in 
> Linux (Mandriva 2005 and Suse 10.0), fonts under 14 points are not 
> antialiased.

For Mandriva Linux you can try the following, if you get no other help:

   # cd /etc/fonts/conf.d
   # chmod 000 02-mdk-disable-antialias.conf
   # service xfs restart

Liebe Grüße, Nora.

nora@xxxxxxxxxxxxx
     IM-NETZ Neue Medien, Berlin                 http://www.im-netz.de/
     WWW von Frauen für Frauen, Hamburg          http://www.w4w.net/
     Lesbian Computer Networks, Helsinki         http://www.sappho.net/

--
 [ signature omitted ] 

Message 3 in thread

Thank you, Nora, but the problem still persist.
It seems not to be a problem of X or Kde configuration. The same program 
compiled with Qt 4.1.x on the same system (I have either Qt 4.1.x and 
4.2.x installed) doesn't have this problem.


Nora Etukudo ha scritto:
> Am 02. November 2006 um 10:04:11 +0100 schrieb Stefano Rosellini:
>
>   
>> I have installed Qt 4.2.0 and then Qt 4.2.1. With these new versions, in 
>> Linux (Mandriva 2005 and Suse 10.0), fonts under 14 points are not 
>> antialiased.
>>     
>
> For Mandriva Linux you can try the following, if you get no other help:
>
>    # cd /etc/fonts/conf.d
>    # chmod 000 02-mdk-disable-antialias.conf
>    # service xfs restart
>
> Liebe Grüße, Nora.
>
> nora@xxxxxxxxxxxxx
>      IM-NETZ Neue Medien, Berlin                 http://www.im-netz.de/
>      WWW von Frauen für Frauen, Hamburg          http://www.w4w.net/
>      Lesbian Computer Networks, Helsinki         http://www.sappho.net/
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>   

--
 [ signature omitted ] 

Message 4 in thread

Installing a lot of rpm on Suse (various programs) the problem of fonts 
disappeared. However on Mandrake still persists.

--
 [ signature omitted ] 

Message 5 in thread

Am 15. November 2006 um 11:40:02 +0100 schrieb Stefano Rosellini:

> Installing a lot of rpm on Suse (various programs) the problem of fonts 
> disappeared. However on Mandrake still persists.

Under Mandriva I had the problem: Qt-4.1.x programs where
fine, Qt-4.2.x programs where ugly. After disableing
'/etc/fonts/conf.d/02-mdk-disable-antialias.conf' and restarting the
fontserver this problem is gone. Your mileage may vary.

Liebe Grüße, Nora.

nora@xxxxxxxxxxxxx
     IM-NETZ Neue Medien, Berlin                 http://www.im-netz.de/
     WWW von Frauen für Frauen, Hamburg          http://www.w4w.net/
     Lesbian Computer Networks, Helsinki         http://www.sappho.net/

--
 [ signature omitted ] 

Message 6 in thread

Nora Etukudo ha scritto:
> Am 15. November 2006 um 11:40:02 +0100 schrieb Stefano Rosellini:
>
>   
>> Installing a lot of rpm on Suse (various programs) the problem of fonts 
>> disappeared. However on Mandrake still persists.
>>     
>
> Under Mandriva I had the problem: Qt-4.1.x programs where
> fine, Qt-4.2.x programs where ugly. After disableing
> '/etc/fonts/conf.d/02-mdk-disable-antialias.conf' and restarting the
> fontserver this problem is gone. Your mileage may vary.
>
> Liebe Grüße, Nora.
>
> nora@xxxxxxxxxxxxx
>      IM-NETZ Neue Medien, Berlin                 http://www.im-netz.de/
>      WWW von Frauen für Frauen, Hamburg          http://www.w4w.net/
>      Lesbian Computer Networks, Helsinki         http://www.sappho.net/
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>   

On my Mandriva 2005 LE that file doesn't exist, but I found that 
directory which contains files with similar meanings. I tried to change 
these settings in variuos ways but nothing changes.
Do you know where can I find some info on this configuration directory 
and it's behavior?

--
 [ signature omitted ] 

Message 7 in thread

Am 15. November 2006 um 12:35:53 +0100 schrieb Stefano Rosellini:

> On my Mandriva 2005 LE that file doesn't exist, but I found that 
> directory which contains files with similar meanings. I tried to change 
> these settings in variuos ways but nothing changes.
> Do you know where can I find some info on this configuration directory 
> and it's behavior?

On Mandriva 2006 this file (and the whole directory) belongs to:

    2510 [hydra:~] =rpm -qf /etc/fonts/conf.d/02-mdk-disable-antialias.conf
   fontconfig-2.3.2-5mdk

I have no 2005.LE machine anymore, but if I look into the archive, I can see:

    2511 [hydra:~] =rpm -qlp /share/2005.LE/media/main/fontconfig-2.3.1-2mdk.i586.rpm
   /etc/fonts
   /etc/fonts/conf.d
   /etc/fonts/conf.d/autohint.conf
   /etc/fonts/conf.d/no-bitmaps.conf
   /etc/fonts/conf.d/no-sub-pixel.conf
   /etc/fonts/conf.d/sub-pixel.conf
   /etc/fonts/conf.d/unhinted.conf
   /etc/fonts/conf.d/yes-bitmaps.conf
   /etc/fonts/fonts.conf
   /etc/fonts/fonts.dtd
   /usr/bin/fc-cache
   /usr/bin/fc-list
   /usr/bin/fc-match
   /usr/share/doc/fontconfig-2.3.1
   /usr/share/doc/fontconfig-2.3.1/AUTHORS
   /usr/share/doc/fontconfig-2.3.1/COPYING
   /usr/share/doc/fontconfig-2.3.1/README
   /usr/share/doc/fontconfig-2.3.1/fontconfig-user.html
   /usr/share/doc/fontconfig-2.3.1/fontconfig-user.txt
   /usr/share/man/man1/fc-cache.1.bz2
   /usr/share/man/man1/fc-list.1.bz2
   /usr/share/man/man1/fc-match.1.bz2
   /usr/share/man/man5/fonts-conf.5.bz2

May be, you will find some hints in the man pages or in the
files in '/usr/share/doc/fontconfig-2.3.1'.

I'm very sorry, but I'd never understand the whole font thing, so I'm
of less help on this topic. :'-(

Liebe Grüße, Nora.

nora@xxxxxxxxxxxxx
     IM-NETZ Neue Medien, Berlin                 http://www.im-netz.de/
     WWW von Frauen für Frauen, Hamburg          http://www.w4w.net/
     Lesbian Computer Networks, Helsinki         http://www.sappho.net/

--
 [ signature omitted ] 

Message 8 in thread

Nora Etukudo ha scritto:
> Am 15. November 2006 um 12:35:53 +0100 schrieb Stefano Rosellini:
>
>   
>> On my Mandriva 2005 LE that file doesn't exist, but I found that 
>> directory which contains files with similar meanings. I tried to change 
>> these settings in variuos ways but nothing changes.
>> Do you know where can I find some info on this configuration directory 
>> and it's behavior?
>>     
>
> On Mandriva 2006 this file (and the whole directory) belongs to:
>
>     2510 [hydra:~] =rpm -qf /etc/fonts/conf.d/02-mdk-disable-antialias.conf
>    fontconfig-2.3.2-5mdk
>
> I have no 2005.LE machine anymore, but if I look into the archive, I can see:
>
>     2511 [hydra:~] =rpm -qlp /share/2005.LE/media/main/fontconfig-2.3.1-2mdk.i586.rpm
>    /etc/fonts
>    /etc/fonts/conf.d
>    /etc/fonts/conf.d/autohint.conf
>    /etc/fonts/conf.d/no-bitmaps.conf
>    /etc/fonts/conf.d/no-sub-pixel.conf
>    /etc/fonts/conf.d/sub-pixel.conf
>    /etc/fonts/conf.d/unhinted.conf
>    /etc/fonts/conf.d/yes-bitmaps.conf
>    /etc/fonts/fonts.conf
>    /etc/fonts/fonts.dtd
>    /usr/bin/fc-cache
>    /usr/bin/fc-list
>    /usr/bin/fc-match
>    /usr/share/doc/fontconfig-2.3.1
>    /usr/share/doc/fontconfig-2.3.1/AUTHORS
>    /usr/share/doc/fontconfig-2.3.1/COPYING
>    /usr/share/doc/fontconfig-2.3.1/README
>    /usr/share/doc/fontconfig-2.3.1/fontconfig-user.html
>    /usr/share/doc/fontconfig-2.3.1/fontconfig-user.txt
>    /usr/share/man/man1/fc-cache.1.bz2
>    /usr/share/man/man1/fc-list.1.bz2
>    /usr/share/man/man1/fc-match.1.bz2
>    /usr/share/man/man5/fonts-conf.5.bz2
>
> May be, you will find some hints in the man pages or in the
> files in '/usr/share/doc/fontconfig-2.3.1'.
>
> I'm very sorry, but I'd never understand the whole font thing, so I'm
> of less help on this topic. :'-(
>
> Liebe Grüße, Nora.
>
> nora@xxxxxxxxxxxxx
>      IM-NETZ Neue Medien, Berlin                 http://www.im-netz.de/
>      WWW von Frauen für Frauen, Hamburg          http://www.w4w.net/
>      Lesbian Computer Networks, Helsinki         http://www.sappho.net/
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>   
Thank you, Nora, I finally solved the problem!
Looking at the content of fontconfig files I found an antialias XML 
directive in "/etc/fonts/fonts.conf" which disable antialias for too 
small font. I commented this block and now all magically works!

--
 [ signature omitted ]