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

Qt-interest Archive, January 2008
blurry fonts


Message 1 in thread

Hello

I have an issue with the fonts off apps which are based on Qt4 at linux.  I 
attached an png where the "File" menubar entry at
   (left to right): gtk+ - kde3 - kde4 - Qt4
apps is shown.

As you see the fonts of gtk and kde3 are same.  The kde4 and qt4 fonts are the 
same too. 

Please focus on the "F"s in "File".  The "F" of gtk/kde3 are plain lines, 
since no curves are involved.  The "F" pf kde4/qt4 has something like 
shadows, which results in a blurry look.

Currently I'm running arch-linux, but I saw the behavior on previous gentoo 
and debian installations when I played with qt4.

The screenshots which are placed at the kde4 programming tutorials show that 
there must be a way do make the fonts in kde4 behave like those in kde3
    http://techbase.kde.org/images/a/a3/Introtokdetutorial3.png
Just zoom and pan to "File" and compare with the screenshot I provided.

My $HOME/.fonts.conf is attached.  The font I'm using is Bitstream Vera Sans

Thanks in advance,
 -- Maik

Attachment:

Attachment: gtk-kde3-kde4-qt4.png
Description: PNG image

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

Message 2 in thread

Hi,

> I have an issue with the fonts off apps which are based on Qt4 at linux.  I 
> attached an png where the "File" menubar entry at
>    (left to right): gtk+ - kde3 - kde4 - Qt4
> apps is shown.

Just tested that on Fedora 8. I can reproduce this with Qt 4, but also with Qt 
3, Firefox and other GTK applications like gedit. I believe that's on purpose, 
but I must admit I'm not knowledgeable in font rendering issues.

--
 [ signature omitted ] 

Message 3 in thread

Am Montag 28 Januar 2008 21:57:56 schrieb Dimitri:

> Just tested that on Fedora 8. I can reproduce this with Qt 4, but also with
> Qt 3, Firefox and other GTK applications like gedit. I believe that's on
> purpose, but I must admit I'm not knowledgeable in font rendering issues.

Hello Dimitri,

At the moment I try to collect information from the folks who are using Linux, 
see:
  http://thread.gmane.org/gmane.linux.arch.general/15204
  http://lists.kde.org/?t=120153290000004&r=1&w=2

If others see similar behavior, please report.  

I hope we'll get enough information to at least be able to determine what is 
causing this missmatch between Qt3 and Qt4.

 -- Maik




--
 [ signature omitted ]