View Single Post
Old 08-05-2018, 08:18 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Derf View Post
Following up... I right clicked on a book title in Calibre, and went to "Edit Book". In the editor, I went up to the "View" menu and made sure that "File Browser" was checked. In the File Browser, I scrolled down to the "Styles" section, and double clicked 'stylesheet.css'

Depending on the book, I sometimes see i) no stylesheet.css, ii) a stylesheet.css that references Font-size : 1em; iii) a stylesheet.css that references Font-Size : small.

Some of the books have embedded fonts, others do not. Some have lots of info in their CSS, others are fairly sparse. It seems i just have to play around with things until I get a template I like for my device and eyes.
Unfortunately, it isn't anywhere near that simple. You will find plenty of books that set a font size on the body, then a different one in the paragraph style which includes a font size and then wrap the text with a span that has a style that includes a size as well. Each one of these sets a relative font size, one makes it smaller and the next makes it larger. And somehow it comes out the size that the book creator wanted. And sometimes you get a few paragraphs where it doesn't quite work. Or an emphasised phrase that is the wrong size.

Things like this are why some people run a conversion on all their books. That usually sorts out a lot of these issues. The alternative is to edit each of them and clean up the code. I tend to do the latter, but nowadays I only do this if I see actual problems. Setting the font on the device when I open a new book is no real problem.
davidfor is offline   Reply With Quote