View Single Post
Old 06-16-2011, 06:07 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,810
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Agama View Post
I have noticed that the font-size that calibre's book viewer uses to render TD elements is different to that used by ADE. After a bit of testing it appears that ADE mutlipies the BODY font-size and the TD font-size together to generate the actual font-size for rendering, whereas calibre viewer simply uses the font-size defined in the style for TD.

Example:

body { font-size:1.5em }
td { font-size:1.5em }

Calibre viewer renders TD elements at 1.5em, ADE renders at 2.25em.

So, is one of these right and the other wrong, or do different readers vary in their approach. I have only been able to test calibre reader and Sony, (ADE), and I would like to make ePubs which display consistently on different readers.
1.5 * 1.5 = 2.25

The question is: does the scale apply to the base font size or the inherited font size?
theducks is online now   Reply With Quote