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 03-14-2018, 08:54 PM   #1
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: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Font size difference between ePub & kepub

What is the difference between a font size in ePub and a font size in kepub with no font size set in CSS and the both sliders set exactly the same? If I want to read kepub, I have to adjust the font size and then adjust it back. If I know the size difference, I can leave the slider and set the font size in kepub to compensate. Thanks.
JSWolf is online now   Reply With Quote
Old 03-14-2018, 09:31 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Are you already using the 'Modify CSS' option in the calibre driver with a kobo_extra.css file on your H2O? If so, I found the easiest way to apply the font-size change is by adding an extra line to the kobo_extra.css file so it automatically gets added on-the-fly during send-to-device:
Code:
body>div#book-columns>div#book-inner {font-size:1.5em}
This works well on my H2O (and GloHD) and I don't need to keep changing the slider when I switch between epub and kepub. Surprisingly the KA1 'just works' without needing to do any kind of font-size adjustment.
jackie_w is offline   Reply With Quote
Old 03-15-2018, 08:11 AM   #3
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,142
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Depends on the device. One of them, (I think it was the A1, but I'm not sure) has almost identical font size between Epub and Kepub... others vary wildly.
rashkae is offline   Reply With Quote
Old 03-15-2018, 12:04 PM   #4
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: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Would it not be easier to just put the font size in body for the kepub?

I'm thinking of giving kepub another go, but only if I don't have to keep switching the font size.

Last edited by JSWolf; 03-15-2018 at 12:11 PM.
JSWolf is online now   Reply With Quote
Old 03-15-2018, 12:48 PM   #5
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by JSWolf View Post
Would it not be easier to just put the font size in body for the kepub?
Well that depends as only you can decide what is 'easier'.

Are you planning to:
  • Convert your epub to kepub in calibre and store both formats in the library. You've always expressed a dislike for unnecessary conversions.
  • Hand edit every kepub CSS. Neither calibre Editor nor 'Unpack book' will open .kepub so you'll have to use another method.
  • Use calibre send-to-device for transfer.

The way I suggested was:
  • Create/edit existing kobo_extra.css (in Kobo root dir) once then forget about it. The addition I suggested will not interfere with your standard epubs if you plan to read a mix of epub and kepub.
  • Use KoboTouchExtended driver with both 'Modify CSS' and 'Enable Extended Kobo features' checked to format-shift epub to kepub and scale up the font-size during send-to-device. Your calibre library remains uncluttered with kepubs and your master epub remains suitable for both Kobo and any other epub reading app you use.

The choice is yours
jackie_w is offline   Reply With Quote
Old 03-15-2018, 12:56 PM   #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: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I was thinking of giving a try to kepubify to see how it goes. I can add extra CSS with kepubify. So I can can try your CSS and see how it goes.
JSWolf is online now   Reply With Quote
Old 03-16-2018, 02:36 AM   #7
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jackie_w View Post
  • Hand edit every kepub CSS. Neither calibre Editor nor 'Unpack book' will open .kepub so you'll have to use another method.
If you are running calibre from source, solving that is a two line change.
davidfor is offline   Reply With Quote
Old 03-16-2018, 07:50 AM   #8
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by davidfor View Post
If you are running calibre from source, solving that is a two line change.
Good to know should I ever find a need to use either of them regularly for kepubs.

I don't think JSWolf runs from source, though.
jackie_w is offline   Reply With Quote
Old 03-16-2018, 01:37 PM   #9
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: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Would it be possible to add this as an option in the KoboTouchExtendedDriver? Thanks.
JSWolf is online now   Reply With Quote
Old 09-06-2020, 04:42 PM   #10
A random blob
Member
A random blob began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2019
Device: Kobo Glo HD
Quote:
Originally Posted by jackie_w View Post
Well that depends as only you can decide what is 'easier'.

Are you planning to:
  • Convert your epub to kepub in calibre and store both formats in the library. You've always expressed a dislike for unnecessary conversions.
  • Hand edit every kepub CSS. Neither calibre Editor nor 'Unpack book' will open .kepub so you'll have to use another method.
  • Use calibre send-to-device for transfer.

The way I suggested was:
  • Create/edit existing kobo_extra.css (in Kobo root dir) once then forget about it. The addition I suggested will not interfere with your standard epubs if you plan to read a mix of epub and kepub.
  • Use KoboTouchExtended driver with both 'Modify CSS' and 'Enable Extended Kobo features' checked to format-shift epub to kepub and scale up the font-size during send-to-device. Your calibre library remains uncluttered with kepubs and your master epub remains suitable for both Kobo and any other epub reading app you use.

The choice is yours

Hi Jackie! Sorry for quoting you after 2 years. I spent quite some time browsing the forum and trying to figure it out on my own in Calibre or using Kepubify, but I keep failing.

I wanted to do the hand edit thing, I'm fine with that. But I can't figure out how. The reader in question is Kobo Glo HD.

Which part did you mean to be hand edited?

The issue is the same like OP's. My kepub books fonts are at least 40% smaller than epubs.

Thanks
A random blob is offline   Reply With Quote
Old 09-06-2020, 07:26 PM   #11
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by A random blob View Post
Hi Jackie! Sorry for quoting you after 2 years. I spent quite some time browsing the forum and trying to figure it out on my own in Calibre or using Kepubify, but I keep failing.

I wanted to do the hand edit thing, I'm fine with that. But I can't figure out how. The reader in question is Kobo Glo HD.

Which part did you mean to be hand edited?

The issue is the same like OP's. My kepub books fonts are at least 40% smaller than epubs.
There are 3 ways to do what you want. In all honesty I'd say the hand editing option is the one most like hard work and certainly not the one I'd recommend for an easy life in 2020.

But, as this is the option you're asking about ... You need to edit the CSS file(s) in your kepubs using whatever method you normally use. Append the following style rule to each one.
Code:
div#book-inner {
    font-size: 1.5em;
}
If your kepub has been created with calibre (KoboTouchExtended plugin or Kepub Output plugin) this should work reliably. 99.99999% of standard epubs would ignore this very specific style.

The method mentioned in the second half of my post that you quoted is far less effort if you're a calibre user. There's more detail on using a kobo_extra.css file here. You'd just need to add the above CSS rule to your kobo_extra.css file. The above style would then be automatically added to every CSS file of every epub and kepub sent to the Kobo via calibre without you having to do any manual editing.

The 3rd method of equalising font-size in kepubs & epubs, but only if you're a kobopatch user (or willing to become one) is to enable the patch named 'ePub uniform font scale'. If you do this you won't need to do any editing of CSS files because the font scale mismatch will be "fixed" in the firmware.

Last edited by jackie_w; 09-06-2020 at 07:34 PM.
jackie_w is offline   Reply With Quote
Old 09-06-2020, 07:28 PM   #12
A random blob
Member
A random blob began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2019
Device: Kobo Glo HD
Quote:
Originally Posted by jackie_w View Post
There are 3 ways to do what you want. In all honesty I'd say the hand editing option is the one most like hard work and certainly not the one I'd recommend for an easy life in 2020.

But, as this is the option you're asking about ... You need to edit the CSS file(s) in your kepubs using whatever method you normally use. Append the following style rule to each one.
Code:
div#book-inner {
    font-size: 1.5em;
}
If your kepub has been created with calibre (KoboTouchExtended plugin or Kepub Output plugin) this should work reliably. 99.99999% of standard epubs would ignore this very specific style.

The method mentioned in the second half of my post that you quoted is far less effort if you're a calibre user. There's more detail on using a kobo_extra.css here. You'd just need to add the above CSS rule to your kobo_extra.css file.

The 3rd method of equalising font-size in kepubs & epubs, but only if you're a kobopatch user (or willing to become one) is to enable the patch named 'ePub uniform font scale'. If you do this you won't need to do any editing of CSS files because the scale mismatch will be "fixed" in the firmware.
Hi Jackie. Thanks a lot for replying. In the end, I agree with you. You're right about the 2020 thing. I just patched the Kobo, and it's really nice. It's much faster, even though I ran into an ugly yellow tint issue and the UI is really bad compared to the one from 2017.

Will write later more about that.

Thanks a lot for the write-up on manual work, I'll use it for my old version Kobo
A random blob is offline   Reply With Quote
Old 09-08-2020, 11:03 AM   #13
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: 73,970
Karma: 128903378
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 A random blob View Post
Hi Jackie. Thanks a lot for replying. In the end, I agree with you. You're right about the 2020 thing. I just patched the Kobo, and it's really nice. It's much faster, even though I ran into an ugly yellow tint issue and the UI is really bad compared to the one from 2017.

Will write later more about that.

Thanks a lot for the write-up on manual work, I'll use it for my old version Kobo
I think the UI is better then the UI from 2017. There are a lot more useful features with the current UI.
JSWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smaller font size for kepub compared to epub on Kobo Aura HD yevgeny.bezman Kobo Reader 2 07-14-2015 12:16 PM
Aura HD Diferent font size in epub and kepub ersott Kobo Reader 24 04-15-2014 07:03 AM
Why the size difference between kepub & epub. Nascarfan1972 Kobo Reader 3 12-28-2012 08:18 PM
Lord of the Rings - weird Font size difference damiensmunki Calibre 2 09-19-2010 01:44 AM
Font size difference between medium and large musteman iRex 0 04-02-2010 03:01 PM


All times are GMT -4. The time now is 04:30 AM.


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