When using OpenGL (or WebGL), you have to do everything yourself, including font rendering and layouting. I thought: âWouldnât it be great if you could just reuse the browserâs layouting and font-rendering engine instead of heaving to reinvent the wheel?â. Yes, but thereâs no API for that. Or is there? TL;DR: You can use <foreignObject> to embed normal HTML content in an SVG, encode that SVG as a
{{#tags}}- {{label}}
{{/tags}}