tdf#51165 -> code pointer needed

Chr. Roßmanith ChrRossmanith at web.de
Sun Nov 8 13:14:29 PST 2015


-----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-----


More information about the LibreOffice mailing list