You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example SVG data that demonstrates what I mean is attached.
The result generated by LunaSVG is attached as publicrelease.png and the same file displayed in Edge is attached as edgeresult.png.
The SVG is also attached.
Edge:
Rendered by LunaSVG:
SVG data:
The text was updated successfully, but these errors were encountered:
Hey, thanks so much for your kind words and for sharing that detailed example—I really appreciate it! I'm happy to hear you're enjoying the library. The idea of adding support for the textLength attribute is super interesting, and I'm grateful you pointed out its potential. I don’t have any immediate plans to implement it right now because of some resource and scheduling challenges, but I promise I'll keep it in mind and look into it when I get a chance.
I'm pleased to inform you that support for the textLength and lengthAdjust attributes has now been implemented in lunasvg. This enhancement should address the issues you've encountered with text rendering.
Hi!
I'm very impressed of your great library and would very like to use it in my product.
I do however have one issue that is a small show-stopper.
The textlength attribute doesn't seem to be supported for text.
Is this correct?
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/textLength
If so, could it be implemented?
Example SVG data that demonstrates what I mean is attached.



The result generated by LunaSVG is attached as publicrelease.png and the same file displayed in Edge is attached as edgeresult.png.
The SVG is also attached.
Edge:
Rendered by LunaSVG:
SVG data:
The text was updated successfully, but these errors were encountered: