![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 268
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
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. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,061
Karma: 227316278
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. |
![]() |
![]() |
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 268
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
2. What do I look for and change in the css? Assume I know nothing about css. Last edited by foosion; 07-31-2024 at 10:48 AM. |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,061
Karma: 227316278
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
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; 07-31-2024 at 10:57 AM. |
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,061
Karma: 227316278
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Yes, that too, of course.
|
![]() |
![]() |
![]() |
#7 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 268
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
![]() Quote:
![]() |
||
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 268
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,061
Karma: 227316278
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
![]() Not that I remember, no (which doesn't mean much, as my memory is obviously not all it should be ![]() |
|
![]() |
![]() |
![]() |
#10 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 268
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
YMMV. FWIW, I'm listening to an audiobook of Wolf Hall, which mentions that Cromwell had a fantastic memory due to memory training in Italy. Last edited by foosion; 07-31-2024 at 12:18 PM. |
|
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
And another thing I do is remove all excess HMTL files such as review blurbs, previews of other books, adverts, HMTL ToC, and other stuff I don't want. And if you do an error check (after the HTML deletes) with error checker (bug on the toolbar), you can see if any images are not being used and delete them. Also do another unused CSS delete after you delete HTML files. If this is one of those eBooks from Penguin Random House, you could drop some of the embedded fonts as they are only used to an advert that you will already have deleted. Also,, you can delete any other embedded fonts if there are any that you don't want. You will have to edit the CSS to remove the references to the fonts. If there are mebedded fonts you want to keep, you can do a font subset (again int he Tools menu). Last edited by JSWolf; 07-31-2024 at 01:06 PM. |
|
![]() |
![]() |
![]() |
#12 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Well, deleting the HTML can also delete have images and fonts that also can be deleted which means the eBook will be smaller and take less disk space.
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,061
Karma: 227316278
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
![]() Last edited by Sirtel; 07-31-2024 at 01:57 PM. |
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,061
Karma: 227316278
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
![]() (I'm old enough that there was no Google or internet before I was in my mid-twenties, but my memory has drastically worsened since that time... I wonder why? ![]() |
|
![]() |
![]() |
![]() |
#15 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One other thing, you're already in the editor checking it the font size is not too small so why not do the other things as it takes very little time to do so
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |