View Single Post
Old 06-26-2010, 06:02 AM   #18
rty
Zealot
rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.
 
Posts: 108
Karma: 6066
Join Date: Apr 2010
Location: Singapore
Device: iPad Air, Kindle DXG, Kindle Paperwhite
After I manually changed the stylesheet.css in the generated EPUB, it works fine. Here's what it looks in the Nook screen after I manually override the font-family.



The cause of the problem is in the STYLESHEET.CSS of the news EPUB generated by Calibre. The section ".articledescription" has been hardcoded with "font-family : SANS" and Calibre seems to ignore the EXTRA_CSS of news recipe where I used in order to replace the font-family of this particular section. It should be like this:

Code:
.articledescription {font-family: 'DroidFont', serif;}
I have submitted a bug ticket and I hope it will be fixed in the next Calibre version.

Related discussion: https://www.mobileread.com/forums/sho...postcount=2204

Last edited by rty; 06-26-2010 at 06:25 AM.
rty is offline   Reply With Quote