hauke96 / wiki2book

A simple CLI tool to create good-looking eBooks from Wikipedia articles.
GNU General Public License v3.0
14 stars 1 forks source link

Some SVGs are too small on Tolino eBook reader #22

Closed hauke96 closed 1 year ago

hauke96 commented 1 year ago

The image https://de.wikipedia.org/wiki/Datei:Unsaturated_Triglyceride_Structural_Formula_V1.svg is okay but https://de.wikipedia.org/wiki/Datei:Fett-Synthese_Veresterung.svg. Maybe the width and height properties of the SVG affect the rendering on the Tolino eBook reader?

Maybe this affects other non-SVG images as well? But probably not if my hypothesis above is true.

hauke96 commented 1 year ago

Relative width and height attributes are now turned into absolute attributes based on the viewBox.