Bug 194000

Summary: Subpixel hinting configuration ignored by plasma
Product: [Plasma] plasma4 Reporter: vpiotr <vpiotr>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: sample.png

Description vpiotr 2009-05-25 09:46:42 UTC
Version:            (using KDE 4.2.3)
Compiler:          gcc version 4.3.2 Gentoo 4.3.2-r3 p1.6, pie-10.1.5
OS:                Linux
Installed from:    Gentoo Packages

I noticed a problem with subpixel hinting settings being ignored by parts of KDE4. I'm not sure if this issue is specific to plasma only, but it appears mostly there.

No matter how I set subpixel hinting in KDE system settings or system-wide in /etc/fonts/, plasma seems to use the same subpixel hinting.

See attached image - notes widget, digital clock, window titles and "Desktop Settings" dialog use subpixel hinting, while "System Settings" dialog contents are not subpixel hinted. Font settings are:

$ cat .fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

I did restart X after each font configuration change, just in case.

Software versions:

X.Org X Server 1.5.3
Radeon 9200 with xorg driver version 6.12.1
Qt 4.5.1
KDE 4.2.3

also (not sure if this is relevant):

fontconfig 2.6.0
libXft 2.1.13
Comment 1 vpiotr 2009-05-25 09:47:17 UTC
Created attachment 33987 [details]
sample.png
Comment 2 Aaron J. Seigo 2009-05-25 09:53:31 UTC

*** This bug has been marked as a duplicate of bug 190627 ***