diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2023-10-03 21:16:59 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2023-10-04 09:56:18 +0200 |
commit | 10c7bc0c824697b92c22bddacd739de9127dc80e (patch) | |
tree | 909891e052c3f08f3df419e8b7e55482a6530898 /external/poppler/UnpackedTarball_poppler.mk | |
parent | 4c5f51a7ac4c0f7043ead2b3b48e71c33e16f992 (diff) |
tdf#157289 normalize ellipse bounding box in oox export
The predefined geometry of a circular arrow shape has bottom-right
vertex first and then top-left vertex of the bounding box of the
ellipse. We now use the normalized rectangle to calculate the radii of
the ellipse. Before this patch the calculation had resulted in negative
radii.
Because the ODF standard only states, '(x1, y1) and (x2, y2) define the
bounding box of an ellipse.', but not which vertices to use, the fix is
not made in changing the geometry of the circular arrow. Instead the
export is changed to use the normalized rectangle. That is more general
and will cover other shape types too. Especially non-primivite shapes
might use other vertices than top-left and bottom-right to determine
the ellipse.
Change-Id: Ica859c9adc508a6517e30f111cd54518ec9929a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157526
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'external/poppler/UnpackedTarball_poppler.mk')
0 files changed, 0 insertions, 0 deletions