summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorArmin.Le.Grand (CIB) <Armin.Le.Grand@me.com>2020-03-03 11:34:45 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-17 11:20:48 +0100
commit3bd5de707a361fc23d53dd5ad76c147722dfa2e9 (patch)
tree8a54ecc3e0105876d9db5dd4858de286dc7fbad5 /javaunohelper
parent67a52b17b51495a6112f42de7cb465d69f2bb139 (diff)
tdf#130150 Improve clipping in PDF export
For more info and discusson please have a look at the task. It reverts the change from tdf#99680 which did a wrong paradigm change in how clip in Region(s) is defined and tries to fix the underlying error in a more correct way. This includes problems noted in tdf#44388 and tdf#113449. This is a decent improvement, but - due to dealing with numerical problems - not yet the whole healing. Still thinking about how to solve this for good. Adapted PdfExportTest::testTdf99680() and PdfExportTest::testTdf99680_2() as needed, empty clip regions are allowed again. Added comments, too. Had to change solvePolygonOperationAnd to work on ranges if both inputs *are* ranges. The AND-case is then completely solvable. Also increased geometry for transformations of clip geometries - may help later. Change-Id: I2370447597faa6efb81d58ee31c63654e304262e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89874 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 6dff631f8f4b964b48aadde52a1e1b8b04b9ba53) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89923 Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'javaunohelper')
0 files changed, 0 insertions, 0 deletions