Threepress Consulting blog

Month: September, 2009

How to embed fonts in ePub files

(You may be interested in the earlier article, When to embed fonts in ePub files.)
Font selection
Font formats and licensing are complicated. The ePub specification recommends that book designers and reading system implementers use OpenType fonts when possible (although TrueType fonts remain more common). If your font ends in a .otf extension, it’s an OpenType font. [...]

When to embed fonts in ePub files

First, let’s be perfectly clear:

The ePub specification supports embedded fonts.
Embedded fonts are supported through use of the CSS2 @font-face rule.

Reading system support
As of September 2009, the following readers do support @font-face:

Adobe Digital Editions
Sony Reader

Implicitly, any reading device which uses the Adobe reading SDK should have the same behavior, though [...]