View Single Post
Old 04-04-2020, 12:10 AM   #506
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by NoSmint View Post
While the FONT_RAMP settings will be ignored for KFX files - which means you cannot fiddle with font sizes - the advanced typesetting features will be available when using KFX.

The main advantage I see is page flip (preview of surrounding pages without losing the reading position), plus intelligent font-size improvements and enhanced text-align features. Which pretty much makes the FONT_RAMP adjustment obsolete unless you prefer really tiny or extraordinarily huge font sizes.

The downside is that x-ray is - for now - unusable. Even if you manage to pull a working x-ray file, the positioning is off and the highlighted aliases are not in sync with the acutal text. While still being correct in general, x-ray simply points to the wrong position. But since goodreads is the only decent source right now, x-rays nowadays do not contain so much useful information anyway although it's still nice to have.
Sorry for the delay. For whatever reason, I stopped getting email notifications for replies to the thread

You're right that the builder doesn't support KFX, there was supposed to be a more descriptive error but I must've forgotten to finish adding it. I can pull the metadata required to build the start/end actions and author profile from a KFX, but I had a hard time extracting the actual markup of the book properly.
I was using the KFX Input/Output plugins as a guide for implementing support, but it and my understanding of KFX in general are flimsy at best. Someone made a C# library for reading the Amazon Ion format, which saved me a lot of time trying to get that working, but it's still not really feature-complete (maybe someone else has done a better one, I haven't checked in a while).

On top of that, I was never able to figure out how the locations in the X-Ray file match up to what's present in the KFX, so I just gave up on it. From what I could tell, not many people are even using it these days.

Interesting that the Kindle is now auto-downloading newer X-Rays automatically, I haven't had mine out of airplane mode in a long long time so I haven't experienced that. I wonder what they're doing to determine that a "better" version is available or if it just blindly downloads it?

Edit: Apparently Amazon's ion repo on github has adopted the C# version of the library and continued work on it, so I'll have to check into that.

Edit 2: Surprisingly making progress on KFX support. Update soon with something to test

Last edited by Ephemerality; 04-15-2020 at 11:32 PM.
Ephemerality is offline   Reply With Quote