Epub book designers, don't do this.
Oct. 22nd, 2013 08:31 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I was doing some research for a new Journal Entry, and in doing so I stumbled across a cute set of kid's books based on the Pandora mythos by Carolyn Hennesy. I pulled out my Nook, navigated to the series, and clicked "Get Sample."
The downloader told me the sample was sixteen megabytes in size. What the hell? I wondered if maybe I'd misread and it was a graphic novel. No, it was text. What was taking up that much space?
I hooked my Nook up to my laptop and backed it up. I found the file. Now, it's true that Nook files are DRM'd, but with the right tools you can still dump the structure of the Nook epub without having to break the encryption. Here's what the structure says, minus the metadata:
Good grief! 29 megabytes for the font alone. In the compressed EPUB format, the font represents well over 90% of the 16MB volume of the book, and it presents a heck of a strain on the compression/decompression engine of any small ebook reader! I didn't see anything in the sample that would justify that.kind of font abuse.
Really, you'd better have a damn good reason to justify imposing that kind of overhead on your reader's experience.
The downloader told me the sample was sixteen megabytes in size. What the hell? I wondered if maybe I'd misread and it was a graphic novel. No, it was text. What was taking up that much space?
I hooked my Nook up to my laptop and backed it up. I found the file. Now, it's true that Nook files are DRM'd, but with the right tools you can still dump the structure of the Nook epub without having to break the encryption. Here's what the structure says, minus the metadata:
23275812 ops/fonts/ARIALUNI.ttf
1443652 ops/fonts/CharisSILB.ttf
1415988 ops/fonts/CharisSILBI.ttf
1439504 ops/fonts/CharisSILI.ttf
1471768 ops/fonts/CharisSILR.ttf
24125 ops/xhtml/ch01.html
3923 ops/xhtml/contents.html
Good grief! 29 megabytes for the font alone. In the compressed EPUB format, the font represents well over 90% of the 16MB volume of the book, and it presents a heck of a strain on the compression/decompression engine of any small ebook reader! I didn't see anything in the sample that would justify that.kind of font abuse.
Really, you'd better have a damn good reason to justify imposing that kind of overhead on your reader's experience.