Quote:
Originally Posted by jackie_w
I've updated post #2. Comments welcome.
v0.0.3 - beta release Nov 20, 2015 - Less destructive SVG image handling.
All xxx.svg image files will be replaced with a dummy .svg.
SVG image text found in the html files will be scrambled rather than deleted.
- Cleanup-as-you-go for calibre Temp files when using calibre plugin
@eschwartz, Perhaps you could do the honours with the cleanup changes.
|
Great job!! The svg image managment is perfect; just I would made the following change in your dummy.svg file:
1. Instead of:
Code:
<svg id="dummysvg" xmlns="http://www.w3.org/2000/svg" height="60" viewBox="0 0 200 60" width="100" version="1.1">
I would use:
Code:
<svg id="dummysvg" xmlns="http://www.w3.org/2000/svg" height="60" viewBox="0 0 200 60" width="200" preserveAspectRatio="none" version="1.1">
Of that way, the svg image will occup the space of the original svg image. (of course, the text "SVG image" will be a bit distorted

) What do you thing?
Again, great job Jackie; congratulations!
Rubén