View Single Post
Old 02-13-2018, 03:01 AM   #3
rcentros
eReader Wrangler
rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.rcentros ought to be getting tired of karma fortunes by now.
 
rcentros's Avatar
 
Posts: 7,443
Karma: 48453105
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
Quote:
Originally Posted by kovidgoyal View Post
You're welcome

Basically, CSS has a type of priority system (called a cascade). When you embed a font it sets the "base" font used by the book. But if the book specifies its own fonts with higher priority, then that will not work, in this case you have to tell calibre to remove the existing font defintions, to allow the new base definition to become highest priority. calibre does not do this by default, because it can cause some loss, think of books that use a different font for headings or handwriting or similar. If you dont care about that, then yes you can always tell calibre to delete font styling information.
Thanks – answered all my questions. I think I'll only remove existing font definitions when it's necessary. Seems like the safest course. (Although I would still have the original anyhow.)
rcentros is offline   Reply With Quote