View Single Post
Old 09-15-2019, 11:41 PM   #176
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,274
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Quote:
Originally Posted by kovidgoyal View Post
No not quite, the viewer currently sets the users font size preference to the body font. So font sizes set on the body have no effect. I could change this to instead only set the font size on the root (<html>) element. This gives the user less control at the benefit of being closer to the publishers intent.
I dont' quite follow what you mean. The users's chosen font size preference should correspond to 1 em.. that way, the different font sizes in the book scale with the the user preference.

The way it is now, there is no consistency in how books are displayed in the viewer, depending on how the publisher configured their book appearance.

Edit: This problem is worsend by Calibre's font scaling if a book is converted in Calibre. The Publisher might have set a font size in the body, calibre will re-scale it in the paragraph/div, and the resulting book will be further from what the user intended when viewed in the viewer.

Last edited by rashkae; 09-16-2019 at 12:01 AM.
rashkae is offline