XML technologies / ePUB / Open Publication Structure / Integrating layout with CSS / Does an e-book need typography?
(Excerpt from “E-Books mit ePUB ─ Von Word zum E-Book mit XML” by Dr. Victor Wang)
This question is slightly provocative: typography optimizes readability through fonts, sizes, spacing and more. Over 500 years it has focused on print and accumulated reusable experience. More precisely, how far does that knowledge apply to e-books?
Neither yes nor no suffices: some concepts transfer, others need development. What does body font size mean if readers choose size and typeface? Can page layout be balanced when device display is unpredictable?
The author considers e-book typography important enough to justify development effort. Successful examples exist, but beware designing for only one reader, currently especially Apple iBooks, by departing from standards.
Finally, some general stylesheet recommendations:
Prefer external stylesheets for easy maintenance. All OPS documents should normally share one central stylesheet.
Use consistently named class attributes for easy stylesheet selection.
Prefer simple selectors, adding classes where needed, and avoid complex nested selectors.
Avoid selectors using dynamic pseudo-classes, which trigger page rebuilding.
Prefer relative measurements over absolute ones:
emorexis better than fixedptormm.
For block spacing, reset outer margins and inner spacing (padding) to zero, avoiding unwanted browser or reader defaults. Example:
body, div, p, h1, h2, h3, h4 { margin: 0; padding: 0;}.
Copyright © mitp 2011
You may print the online version for your private use.
Otherwise, this chapter from “E-Books mit ePUB” is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Verlagsgruppe Hüthig Jehle Rehm GmbH, Im Weiher 10, 69121 Heidelberg, kundenbetreuung(at)hjr-verlag.de
back to top