#603834 fontconfig: Hinting/Subpixel rendering errors â even with correct DPI settings / fonts.conf / etc. #603834
- Package:
- fontconfig
- Source:
- fontconfig
- Description:
- generic font configuration library - support binaries
- Submitter:
- Michael
- Date:
- 2013-12-06 19:27:08 UTC
- Severity:
- important
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.
Hey there, Here is another example of the bad hinting / kerning, this time from the drop-down menu in the address bar of Iceweasel. Kind regards, micu
Hi Michael, Michael wrote (17 Nov 2010 18:14:30 GMT) : Can you reproduce this bug on a up-to-date Debian Wheezy or unstable, preferably not tainted with packages from derivatives? (Also, you might be interested in Debian bugs #638262 and #605574.) Cheers, -- intrigeri | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
intrigeri wrote (18 Nov 2012 17:37:40 GMT) : Ping? Cheers, -- intrigeri | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc