On 19/09/2018 23:07, Jean-Marc Lasgouttes wrote:
Le 19/09/2018 à 22:45, Daniel a écrit :
"1pt" equals "1.25px" (and therefore 1.25 user units)

https://www.w3.org/TR/SVG11/coords.html#Units

The basic problem is that LyX treats 1 svg pixel as 1pt rather than 0.8pt.

The link you gave assumes that everything is displayed at 90dpi (which gives the 1.25 once you know that 1pt is 1/72th of inch).

I have no idea of how computations are done for svg images : external program rsvg, qt, inkscape...

But what matters is that the output is accurate, or not? The SVG spec sets 1px = 1pt independent of the resolution. Then it's the job of the program, like LyX (or whatever LyX is using to output SVG) to output it correctly. And this is not done correctly.

Daniel

Reply via email to