hauke96 / wiki2book

A simple CLI tool to create good-looking eBooks from Wikipedia articles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some SVGs are too small on Tolino eBook reader

hauke96 opened this issue · comments

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.

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