https://bugs.documentfoundation.org/show_bug.cgi?id=155827
Bug ID: 155827
Summary: MCGR FILESAVE PPTX axial and linear mixed color and
transparency gradient is wrong in export
Product: LibreOffice
Version: 7.6.0.0 beta1+
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Created attachment 187903
--> https://bugs.documentfoundation.org/attachment.cgi?id=187903&action=edit
Screenshot left pptx right fodp
Open attachment 187901 from bug 155825. It contains a shape and a screenshot of
the shape. Save the file to pptx. Open the saved file. You see that the linear
transparency gradient is exported as if it was axial.
(In the following the Number is the offset and the characters are the values.)
Imagine an axial color gradient with
0 A, 1 B
together with a linear transparency gradient
0 X, 1 Y.
Then the visual appearance is
0 BX, 0.5 A middle_of_X_and_Y, 1 BY
But in because you apply axial after synchronizing you get 0 BY, 0.5 AX, 1 BY.
The error is in WriteGradientFill in oox/source/export/drawingml.cxx around
lines 780 to 820. The conversion from axial to linear has to be done before
synchronizeColorStops.
--
You are receiving this mail because:
You are the assignee for the bug.