Can’t Upload Your Ebook ‘Cause It’s ‘Encrypted’? Here’s Why.

Have you ever came across a situation where you or your friend are not able to upload your ebooks to Amazon, or one of the other online stores because the ebook site tells them the files are encrypted.

This is a classic problem that folks run into with InDesign conversion — Adobe’s a font foundry as well as a software company, and so when you embed fonts while converting from InDesign, the page-layout app automatically obfuscates them. Essentially, it encrypts them so that only a person with the license to use that font on that machine can open the ebook. So most ebook sites won’t allow you to upload a file with obfuscated fonts. (They just don’t tell you that. They say the file’s “encrypted.” That’s helpful!)

The problem is that many professional designers are used to laying out books in ID. And its ePub-exporting function has gotten good enough in the last few iterations of the software that it actually can be useful in creating ebooks — especially if the ebooks have complicated formats or lots of internal hyperlinking (i.e., footnotes or cross-references). However, if you aren’t paying attention, font obfuscation can kill the whole process.

There are ways to turn obfuscation off in the ePub file after it’s been generated — but that’s not necessarily the best answer.

The thing to remember about embedded fonts is that unless you’ve created a fixed-format ebook, the users’ preferences will usually trump whatever typographic adjustments you’ve made. Base font size, typeface — all of those are settable by the reader. Some ereaders and ereader apps have a setting to “Use Publisher’s Fonts” — Kindle for iOS does, for example — but even then, if the user has set their typeface preference to Palatino, say, or Comic Sans (:shudder:), the whole book will display in that. At that point, the fonts are adding size your file for no reason. In the case of Amazon, that means that the publisher is paying a few pennies more “transport fee” for each download, and buyers have to wait another few milliseconds for the book to download, and all for nothing.

So except in special cases — basically decorative drop-caps or headers, or in fixed-format books — I’ve generally stopped embedding. I use CSS instead to suggest fonts, always ending with the option “serif,” “san-serif,” “monotype,” or “handwriting.” Here for example is the body text style for an ebook that I did recently:

Normal {
font-family: 'Adobe Caslon Pro',Caslon,'Adobe Garamond Pro',Garamond,Palatino,'Times New Roman',Times,Cochin, serif;
font-size: 12pt;
line-height: 1.2;
font-weight: normal;
font-style: normal;
text-align: justify;
text-indent: 2em;

That way the ereader will use the first option that I give it that it has available — unless the user has stated a different preference, in which case there’s nothing to be done.

You can turn off font embedding in the dialogue box when you export from InDesign. Go to the “advanced” tab. You’ll see a collection of check boxes labeled “CSS Options”:

Just uncheck the “Include Embeddable Fonts” box, and InDesign won’t add the fonts to the ebook file. (You can always add them later if you want.)

The other point to consider is that font licenses don’t usually allow distribution through ebooks — not even free fonts. So by sending the fonts out un-obfuscated, you’re breaking your license agreement and, essentially, pirating the fonts.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s