If you have a lot of "images" with such effects to generate from dynamic text, using SVG makes no sense, is vastly more complex and less flexible than the solution here.
SVG is not great for text - HTML has more features - but for display text it's OK.