Weird dimensions when using millimeters
"'Jan Tosovsky' [email protected] [svg-developers]" <[email protected]> Wed, 30 Dec 2015 22:11:34 +0100
| Newsgroups | gmane.text.xml.svg.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear All, I put my observation to this fiddle: https://jsfiddle.net/2p0eexaa/ There is 0.265 ratio between 'px' and 'mm' units on my PC when styling HTML elements. But for some SVG elements this ratio is 0.265 * 0.265 (!) While 'rect' width/height ratio is 0.265 (which is IMO the only correct value), stroke-width or font-size requires that weird value. Is there any explanation for this? As this behaviour is consistent across all browsers (FF, Chrome, Edge), I suspect there is something wrong rather on my side... Thanks, Jan ------------------------------------ Posted by: "Jan Tosovsky" <[email protected]> ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----