[Libreoffice-bugs] [Bug 134612] New: SVG image drawings outside the viewBox are included when exporting as PDF

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 7 11:33:23 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134612

            Bug ID: 134612
           Summary: SVG image drawings outside the viewBox are included
                    when exporting as PDF
           Product: LibreOffice
           Version: 6.4.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: arne.vidstrom at ntsecurity.nu

Description:
If you import an SVG image with drawings outside the viewBox, and then export
your document as PDF, the drawings outside the viewBox are transferred to the
PDF. This causes problems if you, for example, upload the PDF to Amazon KDP. As
a comparison: if you export as PDF from Inkscape and have drawings outside the
viewBox, those drawings are *not* included in the PDF.

Steps to Reproduce:
1. Import an SVG image with drawings outside the viewBox
2. Export the document as PDF (in my case PDF/A-1b)
3. Either inspect the resulting PDF code manually after expanding it, or try to
upload the PDF to Amazon KDP, and try to preview the result

Actual Results:
Drawings outside the viewBox are included in the PDF. If you upload to Amazon
KDP the preview will fail with an unspecified error, preventing you from
publishing your paperback.

Expected Results:
Libreoffice should not include any drawings outside the viewBox in the PDF
(Inkscape does *not* as a comparison).


Reproducible: Always


User Profile Reset: No



Additional Info:
-

-- 
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/libreoffice-bugs/attachments/20200707/c4d0b3b0/attachment.htm>


More information about the Libreoffice-bugs mailing list