-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toSVG fails in presence of Textbox #2339
Comments
Ah that could be very easily true, I have never used the SVG functionality and probably didn't test it in the implementation. I am little bit swamped right now, but perhaps over the weekend I could try to take a look. |
There is a loop in the callsuper i m not able to solve.
|
I had reported this callSuper issue in my original pull request as well. call super doesn't seem to work if the current class has a grandparent class. Only works if there is one level of inheritance. As a work around I had manually called IText's function instead of using callSuper. Better solution is to redo callSuper to work with multiple levels of inheritance. |
How did you call it manually? i tried but failed. |
i found it:
i was doing
and getting no luck. |
@asturur Yep, that is what I was doing. Sorry for the delay in responding ... I was on vacation. |
I am trying out the new Textbox and when I call toSVG, I get "Uncaught RangeError: Maximum call stack size exceeded".
The error appears to be coming from callSuper method being triggered by _setSVGTextLineText. Looks like it's stuck in some kind of infinite loop.
The text was updated successfully, but these errors were encountered: