View Single Post
Old 08-13-2024, 09:49 AM   #746
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,118
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by fireattack View Post
I understand this project does not come with kfx_symbol_catalog.ion, but I wonder has anyone did so and shared such data?
You are the first person interested enough to ask about it here. I intentionally do not include the symbol catalog in the plugin to avoid copying anything significant directly from Amazon.

The format of the kfx_symbol_catalog.ion file should be:

Code:
$ion_1_0
$ion_shared_symbol_table::
{
  name: "YJ_symbols",
  version: 10,
  symbols: [
    "language",
    "font_family",
    "font_style",
    ...
    "standalone_entities",
    "document_regions",
    "yj.user_margin_bounds"
  ]
}
Where ... is replaced by around 800 additional symbols.

The full list of symbols can be obtained by decompiling the Java file EpubToKFXConverter-4.0.jar, which is part of Amazon's Kindle Previewer software, using a tool such as CFR.

In version 3.86 of the Previewer the enumeration corresponding to the symbol table (b_0) can be found in the class com.amazon.kaf.c.b. Those names will be different in other versions of the Previewer due to Java obfuscation.
jhowell is online now   Reply With Quote