svgdom
svgdom copied to clipboard
Implement support of all SVG elements
Missing elements: switch, style, text, tspan, tref, textPath, altGlyph, altGlyphDef, altGlyphItem, glyphRef, marker, color-profile, clipPath, feDistantLight, fePointLight, feSpotLight, feComponentTransfer, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feFlood, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence, cursor, a, view, script, animate, set, animateMotion, animateColor, animateTransform, font, glyph, missing-glyph, hkern, vkern, font-face, font-face-src, font-face-uri, font-face-format, font-face-name, metadata, foreignObject
I recently noticed that <text> is not supported yet. Would be great to have it. There is no way right now to render text via svgren, correct?
@xamidi ultimately svgdom will support <text>
element, but as for svgren there are no plans to support text rendering.
To workaround this you can convert text to geometry using some SVG editor (for example inkscape
).
Partial support for <text>
element added