Created attachment 53842 [details] PDF input and SVG and PNG output Using Poppler 0.18.1 utility PDFtoCairo with -svg option, the attached PDF produced the attached SVG result. When viewed there is a text and an image portion which can be seen to be tiled (in error). When PDFToCairo with -png options is used, the attached png output is produced, which is correct. I assume that poppler calls the same functions with the same data regardless of whether an SVG or PNG surface is used in Cairo. Meaning it's a Cairo problem. I am not familiar with SVG and have been unable to find the precise XML node(s) or configuration causing the problem.
I found some of the particular nodes causing the problem in the SVG file. Example) Find "<path style=" stroke:none;fill-rule:evenodd;fill:url(#pattern11);" d="M 513.839844 811.558594 L 26684.519531 811.558594 L 26684.519531 -27531.960938 L 513.839844 -27531.960938 Z M 513.839844 811.558594 "/>" Then, D is way too big, and should start at 513.839844,811.558594 then draw a rectangle of dimensions ~ 55.76 x 58.375 General Problem) You'll see there are a few nodes with very large paths. Where do these come from?
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS" uname -srvmpo = Linux 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 GNU/Linux libcairo2: Installed: 1.14.0+git201609091646.b207a93-10161~ubuntu14.04.1 poppler-utils: Installed: 0.24.5-2ubuntu4.4 Downloading the attached tarball and running the test8.pdf through svgtocairo -svg, the generated svg appears to display as intended. I tested using: * inkscape * eog * firefox * opera Can you verify the issue still exists? If so, please give us some additional tips on how to reproduce the fault.
Closing after a year with no response. Feel free to reopen with requested info if the issue can still be reproduced.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.