Quote:
Originally Posted by Fursty Ferret
Hi jgoguen - do you know why the Kobo struggles with bookmarks in converted kepubs?
|
Yes, it's because Kobo kepubs come with an extra JavaScript file that I can't distribute or add myself. One of the functions in that JavaScript file is for determining the current position.
There is also a possibility that I need to add additional kobo tags to the generated kepubs. When I get some quiet time I'm going to take apart one of the free books they provide with the Kobo Glo and compare their internal structure with mine again. This won't affect annotations and such things, but if other peoples' suspicions are right it should help the bookmarks and remembering where you left a book.
The other thing that throws it off is, if you have it enabled, the hyphenation functionality. Hyphenation inserts the "soft hyphen" character at the appropriate places in each word, but the definition of a "soft hyphen" (a hyphen which is only displayed if it is the last character on a line, otherwise not displayed) causes problems for character parsing code that doesn't expect them to be present. For example, the English word "image" in the middle of a line is displayed as "image" but is represented as "im-age" internally.
Adding soft hyphens to a kepub also causes display issues (most likely because the renderer counts the soft hyphens as characters even when it shouldn't) which I'm hoping to try and address for the next release.