View Single Post
Old 06-19-2022, 11:19 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,832
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Tawn View Post
...which would be the sensible thing to set it at (and what sensible websites do). I assumed that kobo was overriding the css with the font size slider. Just as it must be doing with the font if not using publisher default. Then a point on the slider would correspond to a specific css unit, just like the light brightness shows an actual percentage number (e.g. 5%) rather than just a dot on a line. If the slider does not correspond to a specific css unit, then how does it work?


I mostly read (public) library books; AFAIK they cannot be edited. I haven't used kepub frequently, but maybe that's actually the biggest problem. I'll pay attention to if that's the case, and if so, perhaps consider using the patch.
Not quite right. The slider does not override the CSS set values, instead it is modifying them. That is a specific setting does not set a fixed font size but rather supplies a multiplier for the ebook's defined font size. Kobo very rarely disregards the ebook's values unless you are into patching the firmware. You can notice this with the right/left margins where you can increase the margin above the CSS set value but you can not decrease it below that value.

So if the font size slider is set to 25 (you can see those numbers in the Kobo eReader.conf file in the .kobo/Kobo directory under the [Reading] header as the ReadingFontSize value) and the ebook CSS is set to 1em/100%, the effective font size would be 25. If the ebook CSS sets 0.875em, the effective font size would be 21.875.

And yes, there are a lot of websites and ebooks that feel other default values are sensible.
DNSB is online now   Reply With Quote