Weirdly, as the browser renders the svg, the units aren't visible, but when I export it as a png through imagemagick, they do show 🤷
05/02/2022, 3:48 PM
Apparently your browser only renders ASCII valued characters in SVG and isn't seeing the ISO encoded characters like the "mu". I wrote the SVG output generator, and what it generates for text encoding works with inkscape, which was my target application when testing the SVG output.
Erik van Zijst
05/02/2022, 4:46 PM
Gotcha, that makes sense.
FWIW, this is in Firefox
05/03/2022, 12:09 PM
Yes, I see that too in Firefox. I just had never noticed it before. Thanks for bringing it to my attention.
05/03/2022, 5:07 PM
no units in chrome either
05/05/2022, 6:06 PM
Just wrote a small script to fix it.
The issue is not with any ISO encoded characters and rather that the generated svg has a <text> element inside a <text> element. The browsers seem to ignore the inner element.