Steps to Reproduce:
render any file conatining height="00cm" width="000pt", as reported in https://github.com/RazrFalcon/resvg/issues/223
Actual Results:
currently it is rendered by 90dpi
Expected Results: (rsvg-convert -a -d 96dpi -p 96dpi)
- 96dpi is the standard and should be imho be used
- Inkscape changed from 90dpi to 96dpi since I guess 0.48.
- 90dpi-Images leads to problems in optimizers such as svgo: https://github.com/svg/svgo/issues/1080 (96dpi should be used)
According to the https://www.w3.org/TR/CSS21/syndata.html#length-units reported in https://github.com/RazrFalcon/resvg/issues/223#issuecomment-590403131
The reference pixel is the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm's length. For a nominal arm's length of 28 inches, the visual angle is therefore about 0.0213 degrees. For reading at arm's length, 1px thus corresponds to about 0.26 mm (1/96 inch).