https://bugs.freedesktop.org/show_bug.cgi?id=58420

Michael Meeks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Michael Meeks <[email protected]> ---
Interesting - the basic problem here is that this entire image is a single
self-intersecting SVG path. The new svgio/ code demands that the code be
non-self-intersecting and so spends almost the entirety of the import time
~132bn CPU cycles inside a single call to
basegfx::tools::createNonzeroConformable.

I guess the fundamental problem is that that method is rather slow - N^2 in
number of points at least AFAICS and it is rather unclear to me that we should
be doing this conform at import rather than rasterise.

Amusingly if instead you simply load the image as a draw file - the code takes
another path: so file->open of the same SVG would be a workaround for you. That
effectively converts the SVG to ODF rather than embedding SVG, and is several
orders of magnitude faster.

Anyhow - thanks for the interesting test-shape, hope the workaround helps. Any
thoughts Thorsten ?

All the best.

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

Reply via email to