Thread: PRS-650 PRS+ Change Font Size?
View Single Post
Old 09-24-2011, 07:22 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,009
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by dwanthny View Post
I find this to be true. I convert all of my books in calibre and set font size scaling during the conversion. Afterwards no matter what I specify in the body of my css nothing happens.
Calibre conversions use <body class="calibre"> and in the CSS Calibre has font-size: 1em;. So what happens is that your font-size in body fails. What you could try is to add in a calibre class with just a font size. So you'd have the same font size in body body and calibre. But there could be other CSS directives changing the font size. I see a lot of ePub where the font size is set in other classes. So for example, you have <p class="tx"> and in the CSS, you have under .tx font-size: small;. Annoying I know and nothing you can do about it other then trying the most common classes publishers use and setting font sizes there. If the classes in your overriding CSS aren't used, it won't be an issue.

Some common CSS entries to put in your font-size...calibre, tx1, tx, indent, noindent, body, p
JSWolf is offline   Reply With Quote