3 ms·
Much cleaner than my hack of Chrome -> PDF -> Inkscape -> SVG https://labs.steren.fr/2020/05/08/screenshot-as-svg/ https://labs.steren.fr/2020/05/08/screenshot
by steren 4y ago
Much cleaner than my hack of Chrome -> PDF -> Inkscape -> SVG
https://labs.steren.fr/2020/05/08/screenshot-as-svg/ https://labs.steren.fr/2020/05/08/screenshot-as-svg/
- cjr 4y agoha, I'm also guilty of using this method on https://urlbox.io https://urlbox.io to power our SVG screenshots. To be honest, it works quite well, but there are quite a few bugs in chromium's pdf rendering, especially when it comes to determining the correct page width to apply media queries to, which sometimes affects the accuracy of these SVG's.
- sings 4y agoMe too. I have found printing to PDF from Safari instead of Chrome yields better results when I have gone through the same process. It probably depends on the source material though. If I remember correctly, the text was split into separate objects by Chrome to reproduce kerning offsets.