This is for SVG. Font-size is set in the style attribute, in pixels. Sometimes inherited from an ancestor tspan or text.
There are many sizes, and the output is proportionally correct (though 20px seems too small, they're always twice the size of 10px elements).
If the same SVG is converted to PDF with Inkscape, the fonts are all larger. That's what I was previously using, and is my baseline. Though, the SVGs when rendered on Firefox and other browsers certainly appear similar to this.
I suspect that the mistake is mine somewhere... so far I'm not doing anything fancy in my stylesheet (only setting page size and margin), do I need to do more than that? Perhaps there is a DPI setting that I've failed to give a sane value?
Any help appreciated.
There are many sizes, and the output is proportionally correct (though 20px seems too small, they're always twice the size of 10px elements).
If the same SVG is converted to PDF with Inkscape, the fonts are all larger. That's what I was previously using, and is my baseline. Though, the SVGs when rendered on Firefox and other browsers certainly appear similar to this.
I suspect that the mistake is mine somewhere... so far I'm not doing anything fancy in my stylesheet (only setting page size and margin), do I need to do more than that? Perhaps there is a DPI setting that I've failed to give a sane value?
Any help appreciated.