05-25-2015, 06:11 PM | #16 | |||
Connoisseur
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
|
Hooray, solved!
Sorry, it took so long to get back and post here; I actually solved this fairly quickly, but I had several other things I had to handle. The root of the problem was in my OPF file. The <dc:rights> tag contained a copyright that was several paragraphs (a tad unnecessary, but there you are). InDesign had inserted "Line Separator" and "Paragraph Separator" characters at the end of each line, which are invisible in my chosen text editor, Sublime. (They don't even act like newlines, so the text ran together, which could have been an indicator that there was something wrong.) These two Unicode characters, U+2028 and U+2029, are somewhat infamous in the Javascript/JSON realm. Googling them reveals this post as one of the top hits, which says: Quote:
I added a Regex Replace function to my processing scripts that looks for those two characters and removes them from any files. After this change, I was able to create the AZK, load it into K4iOS, and the book opened fine. Otherwise: Quote:
Quote:
(Did I understand your question correctly? I'm not precisely sure what the "post-build MOBI" is, or what Step 7 is. I didn't personally load the file up onto Amazon, so if you're referring to the KDP loading process, that would be why I'm drawing a blank.) Anyway, my final question would be on your statement that K4iOS is a KF7 reader. If it's a KF7 reader, why does my sideloaded book (via AZK, which Amazon seems to think is the right way) show my embedded fonts? Do I need to investigate more on any differences between sideloading AZK and going via Amazon's cloud? |
|||
05-25-2015, 06:34 PM | #17 |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
To further the discussion, can you provide some screenshots of your eBook, with embedded fonts, from the K4iOS reader? From the sideloaded AZK?
Unless something has changed very, very recently--which it certainly could have, without us noticing--the K4iOS reader has been a KF7 reader since nearly the beginning. It even has some KF7-KF8 crossover glitches, like displaying things that have KF7 fallbacks, as well as the KF7 coding (for example, text boxes). I freely admit I don't test every book on iOS, for myriad reasons (mostly, the ridiculously time-consuming AZK, sideload, yadda, nonsense. I checked a book with fonts today (again, post-upload at the KDP), and nary a font was to be seen. And are you still seeing these fonts, after you load the book at the KDP, and then download the post-conversion MOBI, from Step 7? (Download Preview File). I presume you keep a test account, for these purposes, so you can test books post-upload at Step 6? (There's a lot that happens at Step 6, which can alter the outcome and appearance of the book. We test our books at the KDP, and the file that you download at Step 7 is indicative of what you'll get, rather than what you see from Desktop Previewer). If you haven't, I would recommend loading the mobi at KDP, and downloading the Step-7 mobi, and then viewing that on the iPad, to see what you're getting. Just a suggestion. Hitch |
Advert | |
|
05-25-2015, 07:35 PM | #18 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
05-25-2015, 08:54 PM | #19 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Yes--but in short, no fonts, as far as I know. AZK can't be uploaded at the KDP for sale; thus, it's a moot point. AZK's aren't generated for use, when the source (ePUB, MOBI, zipped HTML, whatever) at the KDP. As it only has KF7, for all intents and purposes, for a "for-sale" book, there are no fonts, as KF7 can't display them. Not once the book is loaded for sale. And honestly, I don't recall seeing any fonts in any AZK that I've sideloaded, either--at least, not embedded font. (And for that matter, not even the fairly primitive, "sans serif here and serif there," from the firmware, either, IIRC.) OTOH, I freely admit that, given the limitations of the reader, I don't bother to test on it, unless we have an element (like the aforementioned text-boxes) that may present problems on the K4iOS reader. Hitch |
|
05-25-2015, 08:55 PM | #20 | |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi,
FYI, KF8's internally are almost a one for one mapping to the AZK format, with the same skeleton, and fragment sections. The only real differences are that azks are just encoded by a special dictionary based word compression scheme and encoded into json. To test this I converted the same epub into kf8 andazk using kindlegen and studied the differences which were quite minimal. Both are set up to allow "fragments" of up to 8000 chars or so to be loaded upon demand inside a page "skeleton". KindleUnpack simply builds up the original pages from the fragments and skeleton info provided in the KF8 (and then does a lot of link fixups, css link fixups, and etc) to create an epub-like structure. This is perfect format for limited memory phones and tablets with their own webkits and web-based technologies. I could never fully figure out the encoding/encryption used for the dictionary based word compression scheme of the azk otherwise I would have modified KindleUnpack to unpack them as well since much of the code would be re-usable from the kf8 code. Given how much morewe know based on this thread, I may decide to revisit it. Hope this helps, KevinH Quote:
|
|
Advert | |
|
07-29-2015, 08:09 PM | #21 | |||
Connoisseur
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
|
Quote:
However, given that AZK as a file format is not actually displayed anywhere, in any reader that I'm aware of, but is simply a bridge between KF8 and KCR for K4iOS, I would be even more interested to hear any comparisons you can do between KCR and KF8. Or a detailed analysis of the KCR file format (as used in K4iOS)? (Maybe there is one somewhere, I wouldn't mind being linked there.) EDIT: Quote:
And yet, in the other thread... Quote:
Last edited by mattmc; 07-29-2015 at 08:20 PM. |
|||
Tags |
kindle azk mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting to azk through KindlePreviewer | AThirstyMind | Kindle Formats | 36 | 01-29-2015 02:26 AM |
AZK issues | gdgibson | Kindle Formats | 3 | 02-04-2014 05:24 PM |
Request support for Amazon AZK format | HarryT | Calibre | 1 | 01-14-2014 06:28 AM |
azk files | exaltedwombat | Workshop | 1 | 10-21-2013 11:38 AM |