View Single Post
Old 01-04-2015, 07:34 PM   #8
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by buhaj47 View Post
I have a number of EPUB books, each of them happens to have a different font size encoded. How to unify it so that the reader decides on which font size to use?
Since you have a Kobo device, you should get good results if you:

1. Make sure all the font-size parameters are specified in resizable units, i.e. em, %, small/medium/large, rather than absolute units such as px, pt, etc.

2. Avoid use of the font shorthand property; e.g. replace "font: 12pt Times" with individual properties "font-size: 1em; font-family: Times;"

I haven't looked in to how to do this automatically though, the number of books I have found with these sorts of problems is quite small so I just edit the stylesheet manually.
GeoffR is offline   Reply With Quote