AePubReader icon indicating copy to clipboard operation
AePubReader copied to clipboard

Font size not increasing for .xhtml pages..

Open iphonedev21 opened this issue 12 years ago • 1 comments
trafficstars

I am using other .epub files in this code but increase/decrease in font size is working only with sample file (i.e. vhugo.epub) provided by you. this file is unzipping in .xml format while the books i m using unzipping the page in .xhtml format and font changes are not working for these format . Please give some guidance why its happening !

iphonedev21 avatar May 12 '13 16:05 iphonedev21

It's happening because HTML have hierarchy of rules. AePubReader change rules related to font only for the highest level, if you need to get full support of this you need to inspect you UIWebview with loaded book in Web Inspector - check this guide https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html What you need is to determine at which level font style is configured. After that you can replace it with your own settings (through css/js).

skyylex avatar Jan 04 '15 10:01 skyylex