On Sat, Dec 21, 2013 at 11:23:57AM -0800, Josh Triplett wrote:
> On Mon, Dec 16, 2013 at 11:53:01AM +0100, BubuXP wrote:
> > I found the cause (maybe).
> > Probably the fuzzy fonts are all OpenType fonts. Starting from
> > freetype 2.5.0.1, the Adobe CFF engine is the default rasterizer for
> > those class of fonts.
> > https://blogs.adobe.com/typblography/2013/05/adobe-contributes-cff-rasterizer-to-freetype.html
> > 
> > From: 
> > http://lists.freedesktop.org/archives/fontconfig/2013-December/005026.html
> > > If I remember correctly the new Adobe CFF hinter hinting levels are out 
> > > of sync with the autohinter used with TTF fonts.
> > 
> > As reported in the above link, to mitigate the bug this fix should be
> > enabled by default in the next fontconfig version (2.11.1, that will
> > be released soon):
> > 
> > <match target="font">
> >   <test name="fontformat" compare="eq">
> >     <string>CFF</string>
> >   </test>
> >   <edit name="hintstyle" mode="assign">
> >     <const>hintslight</const>
> >   </edit>
> > </match>
> 
> I can confirm that adding that to ~/.config/fontconfig/fonts.conf
> (with the appropriate XML wrapping for a fontconfig config file) solves
> the problem.  I took screenshots of the same dialog with 2.4.9-1.1 and
> with 2.5.1-1 using the above config snippet, and got binary-identical
> screenshot PNGs.
> 
> On Mon, Dec 16, 2013 at 09:50:33AM -0800, Steve Langasek wrote:
> > Use of the Adobe hinter is optional and the default can be changed at
> > compile time.  Does someone who's hitting this bug want to try rebuilding
> > freetype locally with the option changed, to see if that fixes it?  (If not,
> > I'll prepare a test build for people to try, but it'll take a few days
> > before I can get to it.)
> 
> I'd actually recommend *against* disabling the new hinter.  I've seen
> several examples of hinted fonts displaying better with the new hinter.
> I'd simply recommend fixing the hintstyle mechanism such that it
> respects the same configuration as the previous hinter, so that anyone
> using slight hinting with the previous hinter will continue to get
> slight hinting with the new hinter.

It looks like I spoke too soon.  With the new version of libfreetype6
(2.5.1-1) and the fontconfig configuration above, most font rendering
matches the behavior of 2.4.9-1.1, but some things still render
differently.  For instance, see the attached screenshots of
gnome-terminal.  The terminal contents seem to render identically, but
the tab labels get blurry with 2.5.1-1, even with the configuration from
above.

- Josh Triplett


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to