XML technologies / ePUB / ePub für (In)Designer / Text / Typography for e-books / Text alignment

(Excerpt from “ePub für (In)Designer — Mit InDesign Schritt für Schritt zum E-Book” by Sascha Heck & Yves Apel)

Novels commonly use justified body text. In ePub, however, most e-readers currently lack hyphenation. CSS offers no hyphenation control. JavaScript libraries and the new CSS3 property text-justify can handle hyphenation, but are still immature. There is no real control over where or how words break. E-books adapt to display width, like browser lines when a window narrows. Breaks also change when readers enlarge text, a standard feature and a strong argument for e-books. ePub can use soft hyphens to suggest breaks, called discretionary hyphens in InDesign. This may help very long words, but reader full-text search may mishandle them and not all readers display them. Until a good standardized hyphenation solution exists, we recommend left-aligned e-books.

ePub alignment: justified versus left-aligned

Figure: Without hyphenation, justified ePub text has ugly gaps.
Prefer left alignment.

  

 

 

 

back to top