<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Insert SVG causes LibreOffice to hang, consuming 100% cpu"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=101083#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Insert SVG causes LibreOffice to hang, consuming 100% cpu"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=101083">bug 101083</a>
from <span class="vcard"><a class="email" href="mailto:Armin.Le.Grand@me.com" title="Armin Le Grand <Armin.Le.Grand@me.com>"> <span class="fn">Armin Le Grand</span></a>
</span></b>
<pre>Made a short check what's going on. Generic sys-dep renderers would be ideal
(and were always the target after cont'ing the changes) but would not help too
much here.
The PatternFillPrimitive2D already does a decent, discrete (res- and target
dependent) buffered decomposition. Did that once for a similar case - the
pattern is tran'd to a bitmap and embedded in a stack of matrices to reflect
the fill (done based on discrete pixel size of pattern back-transformed to have
no gaps in pattern :) important).
In this case the range and size of the pattern derived/imported from the SVG
lead to creation of 2mio sub-primitives - argh! Either there is an error in
this file or we need to limit amount of decomp parts anyways due to mem overrun
attacks...
Just my 2ct</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>