On Fri, 4 Apr 2008 19:38:23 +0200, Chris Lilley <chris@...157...> wrote:
On Friday, March 21, 2008, 5:21:00 PM, Guillermo wrote:
GE> Quick and dirty workaround: multiply the desired size by 1.25 GE> For instance: 10 pt type = 12.5 px GE> The explaination of this is that svg uses a resolution of 90 dpi for its GE> pixel size as default. Postscript type units are 72 dpi. GE> 90/72=1.25
Could you point to somewhere in the SVG spec that leads you to this conclusion?
That SVG requires a particular interpretation of px in physical units is a common misconception resulting from uncareful reading of section 4.3.2 of the CSS2 specification, which SVG references. I've had to disabuse people of it many, many times.
Inkscape's default interpretation of px actually is 1/90in (before the effects of the viewbox or any user transformations), which may not help.
Given how often people make this mistake, it's something that may be worth explicitly clarifying in the SVG specification.
-mental