First, is there a way to embed custom fonts into the SVG? I know how to get custom fonts to the page, but when I try to save the svg as a png, it shows up as the default font. Observe:
I have tried including a <defs> tag inside the svg (from this note), but that doesn’t seem to work — at least, not on Observable.
Any thoughts?
Second, I dig Mike’s save-svg-as-png function… does anyone know how to get it to save @2x?