ropensci / rsvg

SVG renderer for R based on librsvg2
Other
97 stars 1 forks source link

set viewport sizing for document rendering #32

Closed coolbutuseless closed 2 years ago

coolbutuseless commented 2 years ago

By setting explicit values for the viewport sizing, this enables "%" units at the top level of the SVG document to be rendered correctly by librsvg

This fixes issue #30

jeroen commented 2 years ago

Thanks. At some point we need to port it to the new autoscale api: https://github.com/ropensci/rsvg/issues/29

jeroen commented 2 years ago

This is on CRAN now in rsvg 2.3.1