简体   繁体   中英

iphone epub reader how to change the font size/color programmatically?

I have seen many projects that reads epub files than parsing it to XML formats.

Some projects uses HTML to display the formatted ftext in a web view

Is there any way possible way to change the color/size of a font?

I think some are including Java Script files but still not sure...

Any framework that rcan help for epub content reading and customiziing....

ePub uses XHTML & CSS for content, so most (if not all) ePub readers will use a UIWebView.

Changing the font color & size, then, is simply a matter of fiddling with said UIWebView's stylesheets, whether through JavaScript or altering the XHTML/CSS files directly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM