[Libreoffice-bugs] [Bug 117184] New: SVG inserted as bg image cropped to content

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 23 15:49:12 UTC 2018


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

            Bug ID: 117184
           Summary: SVG inserted as bg image cropped to content
           Product: LibreOffice
           Version: 6.0.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: dar at xoe.solutions

Description:
Instead of inserting the svg document as it is, the document gets cropped to
the content (elements) of the document.
In case the svg does have blank space around the elements, it get's cropped.
This is a problem, because if it's intended use is a bg image and the ratio is
not prserved (because of cropping) I cannot reestablish the right ratio ad
position according tot the design.

Steps to Reproduce:
1. Create a SVG document with blank space around it's elements
2. Insert > Image > insert svg...

Actual Results:  
Cropped svg

Expected Results:
Uncropped svg, respecting the viewBox, see svg tag in additional info


Reproducible: Always


User Profile Reset: No



Additional Info:
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version:
6.00 Build 0)  -->
<svg version="1.1" id="Capa_2" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
         viewBox="0 0 612.3 790.9" style="enable-background:new 0 0 612.3
790.9;" xml:space="preserve">


---------------
Version: 6.0.3.2
Build ID: 1:6.0.3~rc2-0ubuntu0.17.10.1~lo2
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36

-- 
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/20180423/0bbf978c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list