View Single Post
Old 11-20-2015, 09:57 AM   #161
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,857
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jackie_w View Post
I've updated post #2. Comments welcome.

v0.0.3 - beta release Nov 20, 2015
  1. 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.
  2. 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
RbnJrg is offline   Reply With Quote