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

--- Comment #4 from Regina Henschel <[email protected]> ---
Created attachment 130641
  --> https://bugs.documentfoundation.org/attachment.cgi?id=130641&action=edit
Gradient in MS Office compared to LibreOffice

The fix to get a radial gradient is easy:

In file /core/oox/source/drawingml/fillproperties.cxx line #371
exchange
awt::GradientStyle_ELLIPTICAL
with
awt::GradientStyle_RADIAL
That looks good in case the center is at 50%|50%.

But it does not solve the whole problem. MS Office has a different way to go
from start to end color. The end of the gradient is flatter, so that the whole
area gets a gradient, whereas LibreOffice has a hard end at periphery of the
circle and fills the rest with solid color, and the radius of the circle is
smaller than in MS Office. Therefore, if the center is in the corner MS Office
and LibreOffice look different.

This problem cannot be solved with our current radial gradient without breaking
existing drawings.

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

Reply via email to