Using Custom Fonts With SVG in an Image Tag

added by JavaScript Kicks
6/22/2018 8:06:49 AM


When we produce a PNG image, we use an tag or a CSS background, and that's about it. It is dead simple and guaranteed to work. Unfortunately, the same cannot be said for SVG, despite its many advantages. Although you're spoiled for choices when using SVG in HTML, it really boils down to inline, and , all with serious gotchas and trade-offs.