Anyone with an iPad knows the user can choose the display font. If you’re reading on a Kindle e-ink, you’re probably using the default slab-serif.
One drawback to embedding fonts is that adding them increases the file size; not dramatically, but it could be an issue. Another concern is font licensing; does the font license allow you to embed?
So why embed fonts in your eBook?
At the Press, we’ve chosen to embed fonts for a variety of reasons. Some of which include
Does the text contain exotic diacritics? Eastern European accented characters? Transliterated sanskrit?
Does your ebook contain excerpts of Greek, Hebrew, or Chinese?
Or does the print version of the book use a typeface that conveys typographical significance?
Left: create a font directory into which you place the fonts you’re embedding
Right: reference the fonts in the cascading style sheet
Reference the font in the file manifest (OPF) file
Screen shot of the print edition.
Before we implemented in-house quality review, this is typical of the ebooks we were seeing produced by our vendor
Screen shot from the ePub run through KindleGen.
Can you see the Greek? Neither can I.
This book featured examples of computer code, which, in the print book, were represented with Courier, a fairly standard convention.
A reader reported the “code” wasn’t displaying properly on his device. (Just an aside, we published this eBook before we implemented in-house quality review which I’ll touch on later)
A look at the chapter file showed the vendor had put a span around the code, but
A closer look at the CSS revealed the problem was a misspelling compounded by sloppy CSS. The top line of code is a screen shot from the CSS of the original ePub.
We corrected the misspelling, and we chose to embed a font in order to have more control over how the “code” displayed. We also changed the progression of font choices to include only sans-serif options.
Here’s the result with the embedded font.
First and foremost, for those of you who have not implemented an internal quality review process, I strongly encourage you to do so.
Does the style satisfactorily represent the book? Do the design elements appear to be defined correctly? Is the formatting consistent?
Is any content missing? Is it in the correct order?
Are the diacritics displaying properly? Are the font fallbacks declared? Does it look good?
Are the diacritics displaying properly? Are the font fallbacks declared? Does it look good?