You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
svg backend truncates output size to integer, which it doesn't need to (and pdf backend doesn't) #9815
For vector backends, it should be acceptable for the output canvas to have a noninteger size. Indeed, the pdf backend will output canvas with noninteger sizes "as is". On the other hand, the svg backend truncates the output to the integer below, which it doesn't need to do.
Activity
tacaswell commentedon Nov 19, 2017
It appears have been this way since at least 2005 but see no reason for it to be so.
API: do not truncate the total size of svg element to integers