Quote:
Originally Posted by ixtab
@pirl8: Only very quickly:
1. I suppose Kindle Previewer does not run on Linux, or does it? 
|
No, but KindleGen does (i386). It does not render eBooks but makes mobi files (mobi6+mobi8) from ePub. Actually the previewer uses KindleGen.
Quote:
2. My method (currently) patches something deep, deep inside the rendering code, so there is no HTML at that point anymore. It's just letters.
|
Ok. I guess it won't be easy at that level to deal with different sized fonts, text within tables, and different styles.
Also consider that the KF8/AZW3/Mobi8 rendering engine of the kindle behaves differently from the Mobi6 one: if the text is justified, lines are always stretched to the right. Maybe you can adapt some code from there.