Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 05:56 AM   #1
foosion
Zealot
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 138
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2
Font size

The font size looks much smaller on the book I'm reading than all of the previous books I've read on my Kobo. The settings in koboereader.conf have not changed, just how large the words appear on screen. I have to increase the font size setting to make the words look the same size as on other books.

The book is a kepub converted by Calibre from an epub.

How can I fix this? I'd rather not be changing the font settings on my Kobo for different books. I'm guessing I should be editing the book's CSS, but I don't know how to do this.
foosion is offline   Reply With Quote
Old Today, 08:41 AM   #2
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,738
Karma: 226728044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Two possible reasons:

1. The base font size between kepubs and epubs is different; this can be fixed with a patch

2. The smaller size is specified in the book css (a common enough occurrence); this can only be fixed by editing the css. I use the calibre editor for this, some folks use Sigil.
Sirtel is online now   Reply With Quote
Old Today, 10:44 AM   #3
foosion
Zealot
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 138
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2
Quote:
Originally Posted by Sirtel View Post
Two possible reasons:

1. The base font size between kepubs and epubs is different; this can be fixed with a patch

2. The smaller size is specified in the book css (a common enough occurrence); this can only be fixed by editing the css. I use the calibre editor for this, some folks use Sigil.
1. I haven't had this issue with any other book, so this does not seem the problem.

2. What do I look for and change in the css? Assume I know nothing about css.

Last edited by foosion; Today at 10:48 AM.
foosion is offline   Reply With Quote
Old Today, 10:54 AM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 10,738
Karma: 226728044
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by foosion View Post
2. What do I look for and change in the css?
After you open the book in the editor, you can see the file browser (displaying the files in the book), the code editor and the preview. Open any file with ordinary text (i.e. not the cover or the TOC etc.) and look at the paragraph class in the code editor. You should see something like <p class="indent">, <p class="para-p"> and so on, there are hundreds of variants. Sometimes it's not a p, but a div. In short, look at what code an ordinary paragraph uses. Then open the css file and look for that code there. If you see any font-size smaller than 1em under that paragraph class, delete it (the whole row - like, font-size: 0.8em or font-size: small. You can use Search & Replace to bulk delete all instances of that abnormal size from the css file. You should see the text get larger in the preview window after this. If everything seems ok, save and close the editor.

Last edited by Sirtel; Today at 10:57 AM.
Sirtel is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moon+ Reader your favorite font and font size? loodio Android Devices 6 01-30-2016 06:50 PM
Problem changing font size using font size key Waylander Conversion 0 10-02-2013 03:30 PM
Determine font and font size on incoming epub? peaceridge Calibre 4 01-30-2012 03:35 PM
PRS-300 Med font size too big, but small font size too small eli2k Sony Reader 4 05-28-2010 09:47 AM


All times are GMT -4. The time now is 11:22 AM.


MobileRead.com is a privately owned, operated and funded community.