Perhaps Calibre can do something with the conversion from epub to epub, I don't know. I don't like the code from Calibre...
The fonts are the most easy to remove. Just load the epub in Sigil and remove the font-face and font-family references. That should take care of that.
Margins are a bit more difficult. Margins can be set on many levels, @page, body, paragraph and so on. Just search on 'margin-' in the CSS and you schould be able to get most. However, take in mind that no margins at all is not always pleasant to read. That depends on the book.
Then of course there can be internal stylesheets in each xhtml file. There also references to the font and margins can be set.
Many ways to do things and I thing that in your collection all methods are used. That makes is more difficult to automate things. Again, perhaps you can use Calibre conversion.
|