50 likes | 204 Views
Why EPUB interoperability is hard. Koji Ishii Rakuten, Inc. General EPUB RS Architecture. W3C defines UA behavior IDPF defines EPUB file format Neither W3C nor IDPF defines paging, user fonts, color, … Who should define them? —or should they be left undefined ?.
E N D
Why EPUB interoperability is hard Koji Ishii Rakuten, Inc.
General EPUB RS Architecture • W3C defines UA behavior • IDPF defines EPUB file format • Neither W3C nor IDPF defines paging, user fonts, color, … • Who should define them?—or should they be left undefined?
Neither defines how RS renders pages • Multiple ways to implement RS: IFRAME, multicol, regions, … • Some CSS properties do not work as they do in browsers • Pages are not paged media as defined in CSS • Multicol often does not work • ICB does not work, especially on two-pages spread view: vw/vh • Media Query width/height often does not work • Root elements are not root elements: rem • Background color/image is not interoperable • Image layout is hard • Image sizing and positioning (e.g., floats, in a new page, % of page, alignment, 6 lines-height, etc.) • Defining them in CSS Paged Media does not help as above
Neither defines how RS changes font size/colors • Inline-images are sometimes characters, sometimes images • How authors can specify whether an image should follow or not to follow? Should only em-sized inline-images follow the font size? • Line/character spacing behavior is not interoperable • Image caption is hard • Text/images unreadable in night-mode