Ugly font rendering with hinting and antialiasing
I have noticed ugly font rendering. Test case: pango-view --margin=10 --hinting=full --pixels --font="DejaVu Sans 9" -t "1. Hello." -o /tmp/ugly.png
Please see 1:1 and 1:10 output.
All characters have shadow, even dots.
Exactly the same situation when rendering to display, or using another program. Problem exist if change font, hinting settings, interpreter-version, etc.
I'm using current Archlinux, fontconfig version is 2.13.91+24+g75eadca2-2, but the same problem was in a 3-months-ago distro.
Some commands output:
$ xrdb -q
XTerm*utf8Title: true
xterm*termName: xterm-256color
$ ls /etc/fonts/conf.d/
10-hinting-slight.conf 65-fonts-persian.conf
10-scale-bitmap-fonts.conf 65-nonlatin.conf
10-sub-pixel-rgb.conf 65-ttf-droid-kufi-fontconfig.conf
11-lcdfilter-default.conf 65-ttf-droid-sans-fontconfig.conf
20-unhint-small-dejavu-sans.conf 65-ttf-droid-serif-fontconfig.conf
20-unhint-small-dejavu-sans-mono.conf 69-unifont.conf
20-unhint-small-dejavu-serif.conf 69-urw-bookman.conf
20-unhint-small-vera.conf 69-urw-c059.conf
30-metric-aliases.conf 69-urw-d050000l.conf
40-nonlatin.conf 69-urw-fallback-backwards.conf
45-generic.conf 69-urw-fallback-generics.conf
45-latin.conf 69-urw-fallback-specifics.conf
49-sansserif.conf 69-urw-gothic.conf
50-user.conf 69-urw-nimbus-mono-ps.conf
51-local.conf 69-urw-nimbus-roman.conf
57-dejavu-sans.conf 69-urw-nimbus-sans.conf
57-dejavu-sans-mono.conf 69-urw-p052.conf
57-dejavu-serif.conf 69-urw-standard-symbols-ps.conf
60-droid-sans-mono.conf 69-urw-z003.conf
60-generic.conf 75-yes-terminus.conf
60-latin.conf 80-delicious.conf
60-ttf-droid-sans-mono-fontconfig.conf 81-ubuntu.conf
65-droid-kufi.conf 90-synthetic.conf
65-droid-sans.conf README