-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 08.11.2015 um 01:43 schrieb Thorsten Behrens:
Christina Roßmanith wrote:
I'm revisiting tdf#51165. It looks like rendering is the
problem, not importing the SVG file. To continue I'd need some
code pointers where rendering is implemented.
Hi Christina,
oh, this is an interesting corner case - the polypolygon in the
bugdoc has both closed and open polygons, therefore
B2DPolyPolygon::isClosed() will yield false. Thusly
xmloff/source/draw/ximpshap.cxx:1514 and following will pick the
open shape service.
The case at hand can be fixed, the problem in general is that LibO
cannot handle mixed open & closed polygons within a *single*
shape.
Then for the mixed case the problem could be solved by iterating over
the polypolygon and calling writePathShape() with each individual
subpolygon. Or are there reasons not to proceed this way?
Christina
HTH,
-- Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJWP7s1AAoJEN/hiApPuw9SaK8H/1dlm7H8Llhd88dMTyNgxjjt
MHH0uydfLj8ENsh/wEBC4bGmpPsT0tBvd2uPo/SObavypFNMW8zRkXCanPnx91IH
yv8u1aX82DJoUIMRaLz6wG1vWYLiU95YKI7d8OEQYWo2KB43oPTZYRkR/niT5/jL
xRpmRIBeoEumuJMT8ArKcYCHYsQAYATXOa0Dhqmo0Q6NdiPSCl0f9CmGCCOPYTzH
goGgzrf2DoEdEiipy2VspPGwOpX6ODG0n94j7OSXS9hBIYsSMQgB+RE8Q/Z5c4in
wcuwRwWrSgJtivERk3GBCvdCki4Q+g8/TI/v3LtYV/z18pQziNF0wgC31BchPB8=
=9z0l
-----END PGP SIGNATURE-----
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.