docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

Width of scaled SVG image calculated wrong #413

Closed frank-steimke closed 8 months ago

frank-steimke commented 9 months ago

svgissue.zip

In the attached archive you will find an test Document which includes an SVG Image with Dimension 325px 382px. Scaled by 110% (with scalefit='1') should result in 357px 420px.

But with xslTNG 2.1.9 i get 634px * 420px. Something is wrong with the calculation of width.

Greetings, Frank