![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 1173714
Join Date: Jul 2018
Location: Long Island, NY
Device: Kobo Clara HD / Mac User
|
Different font sizes in KePubs
I have two books sideloaded onto my Clara at the moment. Both were from ePub books that were converted with Kobo Extended Driver in Calibre when they were sent to the device.
In the first book, I set the font to Bookerly, the font size, the line spacing and the margins so that they are readable and look good. In the second book, I open it up and the font size is much smaller. When I open the font selection settings, the font is still Bookerly, and the sliders for font size, line spacing, and margins are in the same location. I'm just trying to figure out (as a new user), why if the font settings are the same, do two different KePub books look totally differently when rendered? Is there some CSS that I need to mess with? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
The font size selected by the slider is scaled by the font size styles set by the publisher in the book's stylesheet, which can be different for different books, even for different books by the same publisher.
You could edit each book and change the publisher's font-size styles before sideloading, but this can be more complicated than it might seem for some books, and there is not really any automated way to do it that works for every book without the risk of spoiling the layout of the book in some way. I think it is easiest just to adjust the size with the device slider for each book (if necessary) the first time it is opened. Last edited by GeoffR; 08-04-2018 at 11:44 PM. Reason: ... than it might seem for some books ... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,011
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
When I get books with goofy font sizes like that, I load up calibre and connect the device, select the book, and use the KoboUtilities plugin to "set reader font for selected books".
For some reason, the default font size for epubs is drastically different than kepubs, and this is the only way I've found to make one size align with the other without editing the books or changing font size on the device every time I switch between them. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 1173714
Join Date: Jul 2018
Location: Long Island, NY
Device: Kobo Clara HD / Mac User
|
I read a couple different books at a time. If I adjust the size of the font in one book, and I jump to another book and adjust the font size sliders again, when I go back to the first book I have to adjust the font sliders again. Not ideal.
I just opened 3 different books in Calibre, all in ePub format, and they all opened with different size text. How do I find out what the current font size is for the EPUB file? I just want to know what I should be changing everything to. ![]() Last edited by Derf; 08-05-2018 at 01:50 PM. |
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 1173714
Join Date: Jul 2018
Location: Long Island, NY
Device: Kobo Clara HD / Mac User
|
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. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#7 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 1173714
Join Date: Jul 2018
Location: Long Island, NY
Device: Kobo Clara HD / Mac User
|
Quote:
Setting the font for each book isn’t a problem for me, unless I’m reading multiple books at a time where I have to keep adjusting each time I switch between books. Then it gets a little annoying I’d clean up the code on a per-book basis if I could understand all the CSS code. |
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,011
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
For a lot of books, especially ones with stupid font sizes and stupid extra large margins, I just rip out the css files entirely. Occasionally they are important to the formatting of the book and I find I need to selectively delete rules in the CSS instead of ripping it out.
However, you can also use calibre utilities to set the font size of the book after it is loaded on the reader; this lets you adjust the size separately from the other books on the reader without adjusting the css at all. |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
When you set the font when reading a book, the settings are stored for the book as well as being stored as the default for the next book. Swapping between books with stored font settings should always use the fonts set for that book.
|
![]() |
![]() |
![]() |
#10 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 1173714
Join Date: Jul 2018
Location: Long Island, NY
Device: Kobo Clara HD / Mac User
|
Quote:
Oh, I see that is true. How spiffy! |
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Quote:
Oh, I never knew that! I always thought changing the font settings set the font for every book (due to it being the new default). I'm glad it actually keeps font settings per book, now I dare change them when needed! Thank you! |
|
![]() |
![]() |
![]() |
#12 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 134
Karma: 20456
Join Date: Apr 2014
Device: KPW1
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,894
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Kobo Glo] kepubs and series (or: some kepubs invisible for Calibre) | beedaddy | Devices | 3 | 01-14-2013 02:05 AM |
Font sizes | paulfiera | Conversion | 2 | 08-14-2012 08:49 AM |
Font Sizes | Roya | Sigil | 7 | 06-18-2010 09:28 AM |
Font sizes | DaleDe | Sigil | 8 | 03-13-2010 05:52 PM |
Only five font sizes in K2? | KlondikeGeoff | Amazon Kindle | 6 | 02-25-2009 10:21 PM |