yep, um.
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 🤷
t
Tim Edwards
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.
e
Erik van Zijst
05/02/2022, 4:46 PM
Gotcha, that makes sense.
FWIW, this is in Firefox
t
Tim Edwards
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.
m
Matt Liberty
05/03/2022, 5:07 PM
no units in chrome either
a
Akshay Revankar
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.
@User: Thanks for saving me the trouble of figuring this out. I will correct xcircuit accordingly. Meanwhile, can you please raise an issue on the skywater-pdk github, or generate a pull request?