You are not logged in.

#1 2009-01-14 12:50:41

valmar
Member
Registered: 2007-03-14
Posts: 55

qt3 and qt4 font settings

Dear All,

            after a long struggle I set up the fonts as I want in kde 4 (using qt4). I am happy now. However, I noticed that qt3 applications do not respect my settings correctly. By the look of it, I would say that font hinting style  (and probably rgba) is wrong. In qt4 the fonths are smooth and fine, in qt3 I see color fringes for the hinting. Does anyone know where qt 3 read the configuration and why the same configuration is not applied why this is not the case?

I am using Verdana fonts.


here is my /etc/fonts/conf.d

10-antialias.conf              49-sansserif.conf
10-autohint.conf               50-user.conf
10-hinting-medium.conf         51-local.conf
10-hinting.conf                52-languageselector.conf
10-sub-pixel-rgb.conf          53-monospace-lcd-filter.conf
11-lcd-filter-lcddefault.conf  60-latin.conf
20-fix-globaladvance.conf      65-fonts-persian.conf
20-unhint-small-vera.conf      65-nonlatin.conf
29-replace-bitmap-fonts.conf   69-unifont.conf
30-metric-aliases.conf         80-delicious.conf
30-urw-aliases.conf            90-synthetic.conf
40-nonlatin.conf               README
45-latin.conf




here is my .fonts.conf:


<?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="hintstyle" >
   <const>hintmedium</const>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
</match>
<match target="font">
  <edit name="autohint" mode="assign">
   <bool>true</bool>
  </edit>
</match>
<match target="font">
  <edit name="dpi" mode="assign">
   <double>100</double>
  </edit>
</match>
<match target="font">
  <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
  </edit>
</match>
<selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable">
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
</selectfont>
</fontconfig>


I hope that someone can help with this. I work on 64 bits. Opera is only available on 64 bits with qt3, so I am left with bad-looking fonts.

People on this forums have already helped me a lot in the past



       Valerio

Offline

#2 2009-01-14 15:51:12

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: qt3 and qt4 font settings

Try running qt3config (I assume this is part of the qt3 package...)


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#3 2009-01-14 18:09:04

valmar
Member
Registered: 2007-03-14
Posts: 55

Re: qt3 and qt4 font settings

Thanks for your answer. I did. However, I cannot change anything about the font rendering there, only the font type, the siye, etc.

Offline

Board footer

Powered by FluxBB