View Single Post
Old 09-16-2019, 12:02 AM   #177
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,499
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by rashkae View Post
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.
The books HTML is displayed in a sandboxed iframe. This means that it is not possible to directly setup the correspondence that users font size == 1em. Instead the users font size in px is set on the body and html tags. So all other em font sizes work with respect to it. In any case your particular example is fixed in the next beta.
kovidgoyal is offline