Package: fontconfig
Version: 2.8.0-2.1
Severity: important
Tags: upstream

I tried a lot to get a proper font rendering. It is quite acceptable now after
a long road of configuration. But still, with »full« and »medium« hinting,
there are some hinting/subpixel rendering errors (not in
»light«/»hintslight« hinting mode). In fact, »medium« and »full«
hinting might even be 100% the same — as it seems to me. And with
»hintslight« fonts are to blurry (for me).

What I did:

1. fix-dpi-kdm to correct DIP settings for my monitor. → See
http://manual.aptosid.com/en/sys-admin-gen-en.htm#fonts:
2. apt-get install --reinstall --yes -o DPkg::Options::=--force-confmiss -o
DPkg::Options::=--force-confnew fontconfig fontconfig-config
3. Get a proper version of cairo from experimental → See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555722
4. Find a suitable .fonts.conf (yeah, for sure not perfect now → if you have
any tips, I'd be happy if you send them to me):

<?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="lcdfilter">
   <const>lcddefault</const>
  </edit>
 </match>
 <match target="font">
  <test compare="not_eq" name="slant" qual="any">
   <const>roman</const>
  </test>
  <test compare="less" name="weight">
   <const>medium</const>
  </test>
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <test compare="more_eq" name="size" qual="any">
   <double>15</double>
  </test>
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <test compare="more_eq" name="pixelsize" qual="any">
   <double>16</double>
  </test>
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
</fontconfig>

So it's nearly perfect, but still there are these hinting errors → see
attached picture ("Rü" and "NRW").

Don't know whether this is a fontconfig error.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-0.slh.5-aptosid-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fontconfig depends on:
ii  fontconfig-config       2.8.0-2.1        generic font configuration library
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.2-2          FreeType 2 font engine, shared lib
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

fontconfig recommends no packages.

Versions of packages fontconfig suggests:
ii  defoma                        0.11.11    Debian Font Manager -- automatic f

<<attachment: hinting.png>>

<<attachment: hinting.png>>

Reply via email to