The svg macro has different height/width scaling behavior than the standard image macro #177
Open
Description
The standard image
macro processes width
and height
attributes according to specific scaling rules. The svg
macro doesn't appear to follow these same rules.
Test syntax:
== `image:`
image:ROOT:logo.svg[width="100"]
image:ROOT:logo.svg[height="100"]
image:ROOT:logo.svg[width="100",height="100"]
== `svg:`
svg:ROOT:logo.svg[width="100"]
svg:ROOT:logo.svg[height="100"]
svg:ROOT:logo.svg[width="100",height="100"]
== `image::`
image::ROOT:logo.svg[width="100",align="left"]
image::ROOT:logo.svg[height="100",align="left"]
image::ROOT:logo.svg[width="100",height="100",align="left"]
== `svg::`
svg::ROOT:logo.svg[width="100",align="left"]
svg::ROOT:logo.svg[height="100",align="left"]
svg::ROOT:logo.svg[width="100",height="100",align="left"]