View Single Post
Old 05-04-2013, 06:46 PM   #1
mattcurtis
Book Lover, Dev of Hyphen
mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.mattcurtis ought to be getting tired of karma fortunes by now.
 
mattcurtis's Avatar
 
Posts: 59
Karma: 2013886
Join Date: Apr 2013
Device: iPhone (Hyphen)
When displaying ePubs, what is the best way to display user font-size, color, etc.?

A lot of ePubs specify things like font-size, paragraph spacing, line-height, and font color via stylesheets. I'm developing a reader, and I'm wondering what is the recommended way of overriding those ePub-set styles and displaying a user's custom display settings. Besides inserting something like:

Code:
* { color: #usercolor; }
p { color: #usercolor; }
body { color: #usercolor; }
Are there any recommended techniques for this? Thanks.
mattcurtis is offline   Reply With Quote