Bug#728358: evince: Disappearance of pictures in full screen (xephyr)

Jason Crain jason at inspiresomeone.us
Tue Jun 7 16:21:20 UTC 2016


On Fri, Jun 03, 2016 at 11:49:18AM -0500, Jason Crain wrote:
> On Thu, Oct 31, 2013 at 08:38:40AM +0100, Christophe TROESTLER wrote:
> > The attached document displays well in windowed mode and in full
> > screen, EXCEPT when the full screen happens inside a Xephyr window.
> > All other pictures of the document were displayed fine (including
> > within xephyr).
> 
> This is not related to zephyr, but the image in this document sometimes
> disappears based on zooom levels.  You can see it by running:
> 
>     pdftocairo -r 100 -singlefile -png -f 1 -l 1 D.pdf a
> vs.
>     pdftocairo -r 150 -singlefile -png -f 1 -l 1 D.pdf a

The PDF contains drawing commands with large numbers like:

    0 0 m
    0 2147483647 l
    1098 2147483647 l
    1098 0 l
    W* n

And cairo doesn't deal well with it.  Whether anything is drawn varies
with the scale.  Attached C program reproduces this through just cairo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-test.c
Type: text/x-csrc
Size: 762 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160607/0a5cda94/attachment.c>


More information about the pkg-gnome-maintainers mailing list