Thread: KFX Format
View Single Post
Old 02-10-2016, 08:30 AM   #320
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by jhowell View Post
I downloaded the new Kindle Previewer 3 (Beta), which adds support for Enhanced Typesetting (KFX).
I had a quick look at it, too. The preview, which is currently limited to Kindle Fire and Kindle for iOS, appears to working, but it won't generate .kfx files for sideloading.

Quote:
Originally Posted by jhowell View Post
There are some interesting file names in the previewer software. For example:
Kindle Previewer 3\lib\fc\lib\EpubToKFXConverter-1.0.jar
There are also interesting files in:

Code:
%USERPROFILE%\AppData\Local\Amazon\Kindle Previewer 3\lib\fc\bin
For example, MobiContentDumper.exe dumps the mobi7 and mobi8 parts of KindleGen generated .mobi files as .json files.

The usage is:

Code:
mobicontentdumper dump_mobi7|dump_mobi8 [-outdir=XXX]
Hopefully, this tool will eventually allow the KindleUnpack developers to reverse-engineer the KFX format.

Another interesting file is yjhtmlcleanerapp. The usage is:

Code:
yjhtmlcleanerapp inputJsonFile
yjhtmlcleanerapp inputHTMLFile outputHTMLFile
Doitsu is offline   Reply With Quote