Closed dirkschulze closed 9 years ago
these 2 layers were created by:
Ok, omIn._parentBounds
is just set if omIn.type === "text"
. We have "textPath"
though. Apparently in this.processSVGNode
we don't assume that we would need _parentBounds
but when we compute the position of text caused by alignment, we require _parentBounds
. Setting _parentBounds
for "textPath"
might not be the solution though.
I don't know why we just hit this when exporting SVG within certain bounds yet.
@dirkschulze is this issue fixed? Unclear because the commit says its fixed but this issue is still open.
Lets say it that way, it was broken before in two ways. The crash and the fact that it was not working correctly. The patch fixes the patch. I don't think that it fixes the fact that it was not working properly in the first place.
According to @mvujovic text-on-path-2 fails on Crema with the following error (output from generator):
Note that the test passes when exporting the whole document. The issue seems to be:
in svgWriterProcessor.js