|04-05-2013, 10:42 AM||#1|
Book Lover, Dev of Hyphen
Join Date: Apr 2013
Device: iPhone (Hyphen)
In an ePub reader, what are the rules for processing styles/CSS?
Hey guys (new user here),
I'm developing an ePub reader, and although I've searched and searched, I can't find the rules for ePub style processing/display. Here are my main questions:
Thanks in advance.
|04-05-2013, 11:11 AM||#2|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In a number of cases, this specification does not require Reading Systems to provide the full range of rendering that a standard CSS style sheet might request. For example, some Reading Systems will use monochrome displays. It would neither be acceptable to limit all Reading Systems to monochrome, nor to declare color use a non-standardized extension beyond OPS. In such cases, the CSS settings are allowed, and keep their meanings; but a conforming Reading System may gracefully degrade to a simpler rendering.
A conforming Reading System must render all OPS CSS 2.0 required subset properties. A Reading System may support CSS properties beyond the OPS CSS 2.0 required subset, however, any unsupported properties must be gracefully degraded per the CSS 2.0 specification.
and in particular, EPUB 2.0.1, OPS (http://www.idpf.org/epub/20/spec/OPS_2.0.1_latest.htm). Unless you want to write an EPUB 3 reader, then it's more complicated, but the info is there as well.
|css, epub reader, styles|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Bug in Kobo processing of epub files causing hang in "Processing content"||BensonBear||Kobo Reader||21||12-21-2012 05:47 AM|
|Modding Calibre CSS styles||Olger||Recipes||7||01-25-2012 05:08 AM|
|CSS Table Styles: Does it work?||Alan Newson||ePub||3||12-12-2011 03:54 PM|
|Tool to centralise css styles?||snarkophilus||ePub||7||07-01-2011 04:08 AM|
|Sigil styles and CSS||View[+]Finder||Sigil||4||05-27-2010 05:39 PM|