Quote:
Originally Posted by PatNY
So here's a question I have for the developers of Calibre: If a font family is specified in an epub's CSS, but the font files themselves are not in the epub, why won't the Calibre reader default to the font specified in the reader's settings? I have no idea what font it's using now in these instances, but it's not the one I chose in the settings for Calibre's reader. For example, I set it to "Georgia" for both serif and non-serif fonts, and chose "serif" to be the Standard font. But the books with this issue will show all non-serif fonts. It looks like some sort of basic Windows default font, which I'm guessing is why special characters such as fractions and accents won't display. Can this behavior be changed?
|
The reader uses a font matching algorithm to find the "closest" match to the font specified in the CSS. On windows that algorithm sucks. Unfortunately, there is no way to turn it off as it's a toolkit level thing, short of patching Qt. Which is too much work.