![]() |
#16 | ||
Connoisseur
![]() Posts: 75
Karma: 10
Join Date: Mar 2022
Device: kobo Libra 2
|
Quote:
Quote:
IMO displaying the bulk of text at the user's preferred size is the only sensible way. But I'm not here to debate that. We should be able to override the author's setting; that's what user stylesheets and the !important property are for. |
||
![]() |
![]() |
![]() |
#17 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
The numeric value only applies the same size to matching CSS, and varies in effect between epub and kepub. The ebook CSS body text surprisingly isn't always 1 em (=12pt). So the numeric value would just be clutter. Move slider and tap + or - till it looks right if it looks wrong. Only needs done once for a book. With paper you are stuck with whatever the publisher decided.
Also the same 1 em (=12 pt) is a different size for different fonts! Getting say some Sans text in the body to look the same size as the main Serif text is challenging for the paper or ebook designer/format editing person. |
![]() |
![]() |
![]() |
#18 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Thing is, most eBooks that I've seen the code for use <p> for chapter headers. So how would you suggest you override the font size for <p> if you want to override for the body text but you are also overriding the header text size. It doesn't work well for an override.
|
![]() |
![]() |
![]() |
#19 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
A subject near and dear to my heart! My eyes aren't good so I have a very particular set of preferences, preferences which I have acquired over a very long career. I like to adjust the font size, <body> and <p> margins, and line spacing so I get exactly X lines of text on the screen, each and every time.
Before, I had to open the epub in calibre and do some editing. That got old. Finally, I've managed to do this with my custom build of Plato. Added a CSS tweak feature whereby I can long press on the main text and apply a canned CSS style to it. Boom! 20 lines of text on my Libra 2. No more fiddling around. Shgmeless plug >>> https://github.com/thataboy/plato/bl.../CSS_TWEAKS.md This is just way too nerdy to ever see the day of light in any mainstream product. Heck, it's probably way too nerdy to make it to Plato proper. But yeah I think that's what it takes to achieve consistency, because I don't think you can expect publishers to standardize their formatting. They don't do it for print books (nor should they), There's an argument to be made for ebooks, but we who care are a very small minority. |
![]() |
![]() |
![]() |
#20 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,587
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#21 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
So I used Calibre Editor with "Plugins -> Edit Span and Div" to replace preserving class to either <h2 class="cs"> or <p class="bs"> and then global edit to replace the first <p class="bs"> after an </h2> with <p class="no-indent">, created by copying bs and changing text-indent: 0 I only opened it for edit because the line-height was fixed and stupid, so I simply deleted ALL line-height settings in the style file (CSS classes). My automatically converted by Calibre from docx exported by Save As from Libra Office Writer are consistently better than ebooks by big publishers. I do have to edit css classes for any images (I don't usually have many) to either an absolute pixels high or a percent width depend what they are for as the Styles for images don't map well. All the text paragraph styles / headings etc map perfectly to CSS classes. Last edited by Quoth; 06-20-2022 at 03:25 PM. |
|
![]() |
![]() |
![]() |
#22 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
One author reently sent me a .docx file where they hit a return at the end of every line and did little else other marking a few words as italic. When I sent back the result of sucking the document into Sigil using the docx plugin and also doing a calibre docx to epub conversion, they were rather unhappy. My suggestion that they talk to the person who referred them to me and discuss using styles which the referring author has gotten very good at using drifted off into a "they will distract me from writing and it's your job to fix up the book" rant. |
|
![]() |
![]() |
![]() |
#23 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
There are a lot of mistakes made in eBooks and there can be hundreds of unused CSS. Sometimes when you remove unused CSS, you end up with a small CSS. It's crazy how poorly made most eBooks are. |
|
![]() |
![]() |
![]() |
#24 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
I use a slightly larger than normal font during the day, but that goes up at night when my eyes are tired. And up further still for dark mode. I need double or triple the size I use during the day with dark mode! So it's *not* once per book, it is MULTIPLE TIMES per book that I have to adjust font! And THAT is the the reason I'd like a number to ballpark it. It's irritating when I'm tapping some 8 times or so to get things large enough for dark mode reading, then have to do it all over again in the morning when daylight comes and my eyes are fresh! And there's adjustments during the day as well, depending on whether I'm holding the reader or have it further away on a stand or resting it on a shopping cart while I wait in line at checkout. Font size adjustment is probably the one and only thing I like better on Kindle than I do on Kobo! It's just SO much quicker to be able to set a font size that gets me back into reading on Kindle. I'm at Kindle 5 or 6 in the early morning when my eyes are fresh, but up to 9 or sometimes even 10 at night. I'm NOT suggesting Kobo ditch their wide range of sizing, but something to make it a LITTLE easier to hit close to where I want would be nice. That's all. To those who don't have any eye issues and can just set and forget font size, be thankful! |
|
![]() |
![]() |
![]() |
#26 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
You'd think that would be a minimum standard for SELLING an epub ... ![]() And you are SO correct that they usually leave a crap ton of unused CSS. But I read too many books to edit them all. At 60+ I might be willing to turn a favorite paper book into digital for my personal use, but I'm danged if I'm going to PAY for a book and THEN have to spend time to edit it. Unless there is something that my eyes just can't cope with, like a spindly embedded font. Fortunately those are rare. |
|
![]() |
![]() |
![]() |
#27 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
I change font size nearly as frequently as the lighting! ![]() I have actually been thinking about contacting Kobo, to mention things like this and how I'd love to see ligatures enabled in their Kepub format. And to mention how nice it would be to have a font slider on the right hand side of the screen. They are doing many good things, but some could be better. I recently did some ebook testing of things like HTML fraction entities, prime and double prime entities, etc..., but the Kobo factory fonts are QUITE variable in support of such! Yet both Apple and Kindle supported everything with every single one of their built in fonts. Seems an area that could use work. There was something else, but I'm forgetting now. Perils of age. Hopefully I can remember what, I thought it might be a nice new feature they could possibly build in to a premium reader. Something I read about, hopefully I bookmarked it and can find it again. |
|
![]() |
![]() |
![]() |
#28 | ||
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:
Quote:
|
||
![]() |
![]() |
![]() |
#29 | ||||
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:
Quote:
There is a way to do this from calibre. My Kobo Utilities plugin has a function to set, or clear, the font settings for each book, whether they have been set or not. Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#30 | |
Connoisseur
![]() Posts: 75
Karma: 10
Join Date: Mar 2022
Device: kobo Libra 2
|
Quote:
I was getting about 3 flashes before the new size appeared. I just tested again and now it does indeed update cleanly. There was an update to 4.33 since the previous behavior. No idea if that was related or if something was just being wonky and the power off/on fixed it. That makes it much less annoying. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get consistent font size and layout when converting to kepub (from epub)? | Thorned Rose | Conversion | 0 | 01-22-2021 10:02 PM |
Library View Screen Drastically Reduced Font Size | RoverMaelstrom | Library Management | 1 | 07-13-2020 10:42 PM |
Font size in Book View / Preview Pane | Notjohn | Sigil | 4 | 10-12-2015 10:17 AM |
How do I change the syntax colouring and increase the font size in the Code View? | nicciglen | Sigil | 5 | 02-08-2012 09:34 AM |
Font Size in Library View | Archon | Calibre | 2 | 12-13-2010 07:47 PM |