[Poppler-bugs] [Bug 61413] PDF renders wrong if window is big enough or full screen presentation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 25 01:00:56 PST 2013


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

--- Comment #4 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #3)
> According to some git bisect tests, it seems that wrong rendering started
> with
> 3349a8dd7e0469cc5b5aaa8dd929c6078183ef86
> Splash: Avoid bogus memory error for tilingPattern

Yes, You're true, Fabio: It is this part of SplashOutputDev::tilingPatternFill:

+    if ((unsigned long) result_width * result_height > 0x800000L)
+      return gFalse;

It's quite easy to solve:

    if ((unsigned long) result_width * result_height > 0x10000000L)
      return gFalse;

(which means a new limit of 16384 * 16384 pixel)

BUT: This also means, that Gfx::doTilingPatternFill doesn't wotk correctly with
this sample, because returning false means that Gfx should do the work by its
own.

@Albert: Should I try to solve the Gfx::doTilingPatternFill bug, or can You
live with the new limit?

-- 
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/20130225/acb39b0c/attachment.html>


More information about the Poppler-bugs mailing list