Thread: KFX Format
View Single Post
Old 09-30-2015, 11:31 PM   #139
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,463
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@mattmc: My deduction that KFX is device specific is simply from data in this thread. Namely:

1) Images are grayscaled for e-ink screens

2) Images are re-compressed using a higher compression ratio (JPEG XR)

3) Since amazon has only enabled "advanced" typography for this format, it stands to reason that there is some pre-processing done to make those features easier to implement. For instance, adding soft-hyphens to the text, to avoid the layout engine on the Kindle from having to do that at runtime.
It is unlikely in my opinion that the HTML/CSS is simply copied unchanged from azw3 to kfx. Of course this cannot be known for certain unless the obfuscation is broken.
kovidgoyal is offline   Reply With Quote