Quote:
Originally Posted by juan_carlos
It is kind of random how it highlights the words, sometimes in the middle of pages, but the names are always highlighted correctly. I'll make a screenshot later.
|
As long as the name-highlights are good, that's great. Where the -16 shift is coming from, I still have no idea, but if it's static for everyone, that's progress at least.
The randomness of the excerpts could be due to the shortening process. If a character shows up too far within a paragraph to display, the builder will cut off the excerpt roughly around where the character is, depending on where sentences end. I don't think it does much for the start of the excerpt though.
I haven't had a look at that portion in a while, I'll have to go through it and see if it can be improved easily at all...
Edit: Now that I think of it, the entire reason I added the 'offset' option to the original command-line version was for Amazon books that didn't have X-Ray support yet. I pulled them off my Kindle, removed DRM, created X-Rays for them, then loaded the X-Rays alongside the original DRM-protected copy. I always attributed the offset to the DRM-removal process, but it looks like it's AZW3 as a whole.
I've been scouring through the mobi format documentation and the unpacking process to see if I can figure out where the 16 character offset is coming from, but no luck so far....
If -16 works for *everyone* who tries it, I may just have to make it automatically use that value for AZW3s unless another solution is found.