[Poppler-bugs] [Bug 90570] pdftoppm shows black line artifacts with aaVector enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 24 03:16:52 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90570

--- Comment #5 from William Bader <williambader at hotmail.com> ---
Created attachment 116004
  --> https://bugs.freedesktop.org/attachment.cgi?id=116004&action=edit
patch to fix the problem

This patch creates an alternate version of convertGfxColor() called
convertGfxShortColor() that copies only the necessary color bytes according to
the colorMode.

SplashGouraudPattern::getParameterizedColor() now uses convertGfxShortColor()
instead of convertGfxColor() to avoid corrupting bitmap data.

This fixes the bug and also makes splash slightly faster because it now copies
only the necessary bytes instead of always copying 8 bytes and it now writes
the bytes directly to the destination instead of writing them to a buffer and
then copying the buffer with splashColorCopy().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150524/1c5b135b/attachment.html>


More information about the Poppler-bugs mailing list