docbook / xslTNG

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

Allow SVG width/height to be non-integral values #423

Closed ndw closed 8 months ago

ndw commented 8 months ago

Fix #413

The image properties extension requires that width and height be integers. Rather than rejecting non-integer values, the extension now rounds to the nearest integer.

(Why are they required to be integers? I don't really remember. Of course, raster images always have integral widths and heights. I think some of the downstream processing expects them to be integers.)