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
When I use rsvg_svg() to process a square svg (like this one: , the output svg looks the same as the input ().
However, when I use rsvg_svg to process a rectangular svg (like this one: ), the output svg has extra white space on the left and right sides ().
I noticed that the dimensions in the output files lack any decimals that the input dimensions had (as if floor() was called on them). Is this intentional? Or perhaps part of the CAIRO process/spec? Any way around this? I tried setting a width/height in rsvg_svg(), but that just seems to scale the dimensions after they are floor()ed. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
When I use
rsvg_svg()
to process a square svg (like this one: , the output svg looks the same as the input ().However, when I use
rsvg_svg
to process a rectangular svg (like this one: ), the output svg has extra white space on the left and right sides ().I noticed that the dimensions in the output files lack any decimals that the input dimensions had (as if
floor()
was called on them). Is this intentional? Or perhaps part of the CAIRO process/spec? Any way around this? I tried setting a width/height inrsvg_svg()
, but that just seems to scale the dimensions after they arefloor()
ed. Any help would be appreciated.The text was updated successfully, but these errors were encountered: