Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle missing width and height attributes. #14

Merged
merged 1 commit into from
Mar 13, 2021

Conversation

EoinTravers
Copy link
Contributor

Some sources, including svglite for R, don't set the width and height attributes (see r-lib/svglite#12).
In at least some of these cases, we can extract these properties from the viewBox attribute instead.

Some sources, including svglite for R, don't set the width and height attributes (see r-lib/svglite#12).
In at least some of these cases, we can extract these properties from the viewBox attribute instead.
Base automatically changed from master to main March 13, 2021 07:10
@astraw astraw merged commit 5e4ed91 into astraw:main Mar 13, 2021
@astraw
Copy link
Owner

astraw commented Mar 13, 2021

Apologies for my delay. I haven't tested this myself but I guess it works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants