SVG images do not have "viewBox" attribute

Bug #1081820 reported by Alex Afanasyev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aafigure
New
Undecided
Unassigned

Bug Description

visit_image method does not put viewBox attribute to svg tag.

This omission creates problems with visualization of the image in some browsers, including Crome and Safari, if the generated image is included in an HTML page.

The attached patch just adds the attribute.

Revision history for this message
Alex Afanasyev (alex.afanasyev) wrote :
Revision history for this message
zsquareplusc (zsquareplusc) wrote :

thank you, fixed over here: https://github.com/aafigure/aafigure

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.