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

            Bug ID: 155479
           Summary: MCGR clumpsy export of linear gradient to SVG
           Product: LibreOffice
           Version: 7.6.0.0 alpha1+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rb.hensc...@t-online.de

Created attachment 187486
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187486&action=edit
Shape with linear gradient

Open attached document. Select the shape. File > Export. Select SVG. Mark
'Selection' and export.

Do this with a build before MCGR, e.g. from January, and do this with a current
master. Compare the resulting SVG markup.

LO from January exports the gradient nicely as
      <linearGradient id="gradient1" x1="1177" y1="3363" x2="22596" y2="3363"
gradientUnits="userSpaceOnUse">
       <stop offset="0.3" style="stop-color:rgb(255,255,0)"/>
       <stop offset="1" style="stop-color:rgb(0,112,192)"/>
      </linearGradient>

whereas current master produces a group of 90 <path>-elements.

The gradients in SVG are able to render our linear, axial and radial gradients.
For these gradients the export should use the corresponding SVG-gradients.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to