View Single Post
Old 08-02-2022, 12:32 PM   #141
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,552
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Quote:
Originally Posted by Sirtel View Post
Or you remove that font size from the css before loading the book on the device.



As all my ebooks have the same font size in the css, I too would prefer specific size numbers for easier switching between fonts. Not that I switch often; still, it would be nice to have.
Are you removing all font sizes from the book or are you locating the main texts, find the relevant css rules, and remove the font size from there?

It's a tricky problem. I was using Google play books and wondering how they got font size to be the same across books. Then I realized they just force all <p> to the same font size, so copyright text is as big as main text. If you change text align from the default, say left, then every <p> is left aligned.

What's needed is some kind of analysis to identify where the "main texts" are and force preferred font size / line height / text align only to those, but that's a fuzzy criterion that only works reasonably well for straightforward narrative books. It's better for publishers to leave the main text alone. That formatting is best which formats the least.

My solution with my fork of Plato is to allow the user, namely me, to point to a paragraph and say "apply my settings to all paragraphs of this class". Less work than editing css and no more tweaking the font slider
Barty is offline   Reply With Quote