Quote:
Originally Posted by theducks
The first file in the ZIP Container MUST be a file by the ASCII name of ‘mimetype’ which holds the MIME type for the ZIP Container (i.e., “application/epub+zip” as an ASCII string; no padding, white-space or case change). The file MUST be neither compressed nor encrypted and there MUST NOT be an extra field in its ZIP header. If this is done, then the ZIP Container offers When you do a typical Zip, everything gets compressed. There are tricks... But Why?
|
Ducks, my dear:
If everyone could calm down, please? Please don't assume that we're half-assing stuff just for the fun of it, TY.
- Firstly, this all started because mobi's being uploaded by clients suddenly started having fonts stripped--all fonts.
- Then, we started trying to figure out what on earth was happening.
- As part of this, we tried uploading VALID ePUBS, in lieu of mobi's.
- That didn't work.
- Then we tried downloading the Preview mobi, and unpacking it, to see WT* was going on in the final mobi.
- But lo...although fonts were in the kindlegensrc.zip, no fonts in the mobi.
- No fonts on display, nada, zip. No "publisher fonts" option at Paperwhite. ZIP, pun intended.
- So, then, being US--the "Pirate Radio" of ebook-makers (I'm talking about the movie, not book piracy, please), we started trying some hairball s**t.
- We tried zipped html files.
- We tried all sorts of stuff.
- What worked was an INVALID epub, made as previously described.
Quote:
Why are you editing outside of Sigil? Is it because of the non-TTF/OTF fonts?
|
See above, love. Wouldn't dream of it if suddenly KDP hadn't gone batsh*t. And, Ducky, shame on you for thinking I've gone rogue.
Quote:
Have you tried 'Tweak EPUB' (A version is embedded in Calibre), It takes care of unpackaging- Allowing your edits (and additiions as long as you take care of the OPF changes)-and repackaging into a valid EPUB
The folk at Atlantis have a stand alone version
http://www.atlantiswordprocessor.com...tweak_epub.htm
|
I guess I should have added, to my initial description:
- I tried epubpack.
- I tried epubtweak.
- I tried CALIBRE!!! For the love of heaven!
- I tried WinZip. (Yes, of COURSE I dragged the mimetype in first, etc.)
- I tried 7Zip. (Ditto)
- I tried...you know what, Ducky? I tried EVERYTHING ELSE!!!
@DaleDe:
Quote:
Where did that come from? No one said the submitted file should be invalid? Quite the contrary, it must always be a valid ePub file.
|
Not this week, brother.
@Diap and @Toxaris:
Exactly correct. Valid fails to convey the fonts; invalid conveys the fonts. Of course it's Bizarro-World. In what universe would you guys think I would
voluntarily come on a forum and say, "I'm knowingly submitting invalid ePUB files to KDP," on a forum that shows up top of the Google hit parade in searches? Patently, something is amiss, and that something started this past week, after the KDP was down for a few days. Now, we are reworking mobis that were previously made with some postscript fonts (fortuitously, we only had a few in-house where we'd been unable to get the client to use an OT), but I have a couple that just can't be "fixed" that way, there's no adequately similar OT font to achieve the "artistic vision" of the publisher-author. Thus, the kluge you have read about thus far, for these few that cannot be altered.
OK? Everybody got the picture? Titanic, meet iceberg. Iceberg...etc.
Hitch