[Poppler-bugs] [Bug 103296] New: Web browsers displays artifacts for svg images generated from pdf documents
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 16 14:50:16 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103296
Bug ID: 103296
Summary: Web browsers displays artifacts for svg images
generated from pdf documents
Product: poppler
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: cairo backend
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: akondratov at accusoft.com
Created attachment 134865
--> https://bugs.freedesktop.org/attachment.cgi?id=134865&action=edit
original pdf file
After converting some pdf documents to svg images by pdftocairo all web
browsers (at least Firefox 56.0, Safari 11.0, Chrome 61.0.3163.100 in MAC OSX)
show artifacts on images.
To reproduce the issue make the following steps:
- convert the attached pdf to SVG:
pdftocairo -svg -f 1 -l 1 err-doc-5.pdf err-doc-5.svg
- open the SVG image by any mentioned web browser and check how it looks. It
expects no any artifacts on the image but it contains black rectangles.
Researching the SVG content showed that these elements have the following
structure:
<path xmlns="http://www.w3.org/2000/svg" style="
stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M
394.175781 101.183594 L 570.613281 102.773438 L 571.117188 40 L 394.679688
38.410156 Z M 394.175781 101.183594 "/>
This issue has been tested with latest poppler versions 0.60 and 0.60.1.
Previous versions of pdftocairo also contain this problem.
PS: here is the environment info on my Ubuntu 14.04 after running "cmake .."
-- checking for module 'nss>=3.19'
-- package 'nss>=3.19' not found
-- Could NOT find NSS3 (missing: NSS3_LIBRARIES NSS3_CFLAGS)
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake)
-- checking for modules 'glib-2.0>=2.41;gobject-2.0>=2.41;gio-2.0>=2.41'
-- package 'glib-2.0>=2.41' not found
-- package 'gobject-2.0>=2.41' not found
-- package 'gio-2.0>=2.41' not found
-- Could NOT find GLib (missing: GLIB2_LIBRARIES GLIB2_CFLAGS)
-- checking for module 'libopenjp2'
-- package 'libopenjp2' not found
-- Found lcms version 2.05, /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Building Poppler with support for:
font configuration: fontconfig
splash output: yes
cairo output: yes
qt4 wrapper: yes
qt5 wrapper: yes
glib wrapper: no
introspection: no
gtk-doc: no
cpp wrapper: yes
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib compress: yes
use zlib uncompress: no
use nss3: no
use curl: no
use libopenjpeg: yes
with openjpeg1
use cms: yes
with lcms2
command line utils: yes
test data dir: /home/alex/poppler/../test
-- Configuring done
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171016/617edc39/attachment.html>
More information about the Poppler-bugs
mailing list