On Mon, Oct 19, 2009 at 19:17, Carlos Almeida <xtrondo at gmail.com> wrote:
> On build's below or equal ?snv_123 everything looks sharp, clear and 
> beautiful on my laptop and my server LCD , I know gnome moves to 2.28 so 
> library's have changed ?but on 124 and 125, everything looks blur unfocused 
> and ugly, anyone else notice this problem? any tips to alleviate? sometimes 
> is almost unusable.
>
> thanks and regards,
> CA,

It's broken for various different reasons in builds >= 124 and 125
(bugs in Fontconfig 2.7.1).

There are several workarounds you could try:

1. There is some XML at the bottom of this message. Please save it as
a file named

/etc/fonts/local.conf

on your box.

2. A few things to re-configure -- as root:

%> svcadm disable gdm2-login
%> svcadm disable fc-cache
%> cd /etc/fonts/conf.d/
%> ln -sf ../conf.avail/10-autohint.conf
%> ln -sf ../conf.avail/10-sub-pixel-rgb.conf
%> /usr/bin/fc-cache --really-force --verbose
%> svcadm enable fc-cache
%> svcadm enable gdm2-login

One other configuration detail which I know has helped with some
configurations (but not all) is the following:

In file

/etc/fonts/conf.avail/49-sun-preuser.conf

Try commenting out the following chunk of XML:

<match target="font">
       <test name="lang" compare="contains">
           <string>zh</string>
           <string>ko</string>
           <string>ja</string>
       </test>
       <edit name="hinting" mode="assign">
           <bool>false</bool>
       </edit>
   </match>

which would become

<!--
<match target="font">
       <test name="lang" compare="contains">
           <string>zh</string>
           <string>ko</string>
           <string>ja</string>
       </test>
       <edit name="hinting" mode="assign">
           <bool>false</bool>
       </edit>
 </match>
-->

Please remember that, after every configuration change, you have to do
the fc-cache and gdm2-login magic incantation. :-)

Two new fontconfig bugs were fixed in 2.7.3. I am testing this version
now and i'll integrate it if it does indeed fix this brokenness.

--Stefan

<?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>rgb</const>
  </edit>
 </match>
</fontconfig>

-- 
Stefan Teleman
KDE e.V.
stefan.teleman at gmail.com

Reply via email to