-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SVG: set default width/height if absent
In the librsvg API calls for >=2.52, the newer API of handle_get_intrinsic_size_in_pixels() doesn't set the default width/height of the image if none is supplied. In this case the viewbox attribute of the SVG file can be used to determine the width/height. If the viewbox attribute isn't present the image is not processed further. Fixes #1133
- Loading branch information
1 parent
efef84c
commit 826c89c
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters