it should be doable - because if you look into how the Bookari epub reader app works: when you create a custom theme it is applied to each book you open as additional CSS. that is what they say.
Their Theme CSS forces your choice of margins, line space, font, colour, justification, hyphenation onto each book that you open. So a theme is simply some CSS that is added to each opedned file on the fly, and it works very well. I don't know of any simple way to expose the actual code though, as the epubs are unchanged, it's an "only while it is in memory" overlay. I guess it works because of post #6 & I think Moon reader app uses a similar technique
|