https://bugs.freedesktop.org/show_bug.cgi?id=73553

          Priority: medium
            Bug ID: 73553
          Assignee: [email protected]
           Summary: FILEOPEN: OOXML: incorrect position of colors in
                    gradient fill
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.3.0.0.alpha0+ Master
         Component: filters and storage
           Product: LibreOffice

Created attachment 91944
  --> https://bugs.freedesktop.org/attachment.cgi?id=91944&action=edit
Test case

Compare the colors of the shape contained in the attached document when you
open it with MS Office and LibreOffice: the order of the first and second
colors is swapped.

Check the OOXML definition of the gradient with the definition of a document
exported from LibO:

Original document, see how the second and the third colors are equal:
<a:gradFill>
  <a:gsLst>
    <a:gs pos="0">
      <a:schemeClr val="accent5"/>
    </a:gs>
    <a:gs pos="50000">
      <a:schemeClr val="accent1">
        <a:tint val="44500"/>
        <a:satMod val="160000"/>
      </a:schemeClr>
    </a:gs>
    <a:gs pos="100000">
      <a:schemeClr val="accent1"/>
    </a:gs>
  </a:gsLst>
  <a:lin ang="5400000" scaled="0"/>
</a:gradFill>

Exported document, see how the first and the third colors are equal now:
<a:gradFill>
  <a:gsLst>
    <a:gs pos="0">
      <a:srgbClr val="ff388c"/>
    </a:gs>
    <a:gs pos="50000">
      <a:srgbClr val="005bd3"/>
    </a:gs>
    <a:gs pos="100000">
      <a:srgbClr val="ff388c"/>
    </a:gs>
  </a:gsLst>
  <a:lin ang="5400000"/>
</a:gradFill>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to