This is the same code that I posted previously as the solution I found for the moment, so yes it does work, but as I was explaining, it causes me problem as I sometimes have many SVG files to process and rescale, so to have to make calculations every time increases around production costs. I’m looking for a solution where it can’t either be process through regex or by specifying only one value (height or width).
Edit: I just noticed your second code was different. This one shows up very tiny in Kobo.
Last edited by momoha; 01-29-2019 at 06:10 AM.
|