[gs-commits] mupdf/text 0.8.187 Another attempt to fix bug 691629.

Tor Andersson tor at ghostscript.com
Wed Oct 12 11:57:44 UTC 2011

commit b076818f88a3ab152897cd2e65c95cef9afb471f
Author: Robin Watts <Robin.Watts at artifex.com>
Date:   Tue Aug 2 14:06:18 2011 +0100

    Another attempt to fix bug 691629.
    To solve bug 691629 we need to ensure that the scaling weights for
    every pixel in a gridfitted image sum to 256. I had attempted to
    do that by enabling the 'WRAP' code, but this has the effect of
    adding too much bias to the outlying source pixels, resulting in
    thickened serifs etc.
    A better fix is to extend the code that is already present to check
    the weights for validity. If an image pixel is completely covered,
    then force the weights to 256 by adjusting the largest weight.
    This still skews the output slightly but it's a much less visible

:100644 100644 6bf741c... 427512c... M	draw/draw_scale.c


MuPDF, a lightweight PDF and XPS viewer
Artifex Software, Inc.

More information about the gs-commits mailing list