Bug#454550: Here is a conflict of our interests

Zack Weinberg zackw at panix.com
Thu Feb 7 15:23:51 UTC 2008


On Thu, Feb 7, 2008 at 5:06 AM, Alexander E. Patrakov
<patrakov at gmail.com> wrote:
> Hello Zack,
>
>  The -DDOINTERPOLATE Ghostscript option was added to Evince at my
>  request, logged as the following GNOME bug report (now closed):
[...]

Thanks for the counterexample.  I agree that your file is rendered
better with -dDOINTERPOLATE / equivalent behavior from the PDF
renderer (I care about consistency between PDF and PS renderers as
well as the behavior of each).

Have you looked at my test cases?  Do you agree that those are
rendered better without interpolation?

I think this is going to have to get fixed inside the renderers,
because a document could easily have some images that should be
interpolated and others that shouldn't; a global toggle (even if
accessible in the UI) is not good enough.  The heuristic that comes to
mind is to enable interpolation only for images that are not being
scaled up by more than 10% or so of their natural size.  My test
cases, and the other test cases in the Gnome bug to which this was
forwarded, involve low-resolution bitmaps representing mathematical
objects, scaled to large multiples of their natural size; it is very
important to have sharp lines in that case.

zw






More information about the pkg-gnome-maintainers mailing list