Quote:
Originally Posted by tatagi
thank you all for the replies.
I am messing around with epubs to get a result I've expected with different settings.
a few more questions would be:
1. are there any viewers available on Windows that support multiple default fonts for different elements? e.g times new roman for header, segoi ui for body etc., of course with the right manifestation.
2. any editor that shows any missing or broken glyphs between with or without embedded fonts? so I can detect if removing the embedded fonts will cause the issues and where they are.
|
Sigil and Calibre Editor both have viewers.
The font-family declaration can state multiple default fonts for a particular element/class. You just need to specify which ones you want in your css file:
Code:
h1 {font-family: Times, Arial, Helvetica, sans-serif}
body {font-family: seguiUI, Charis, Helvetica, serif}
p {font-family: Wingdings, Alegreya, Academy}
The problem with a Windows viewer is that it can reference any fonts installed on your system if it can't find the embedded font file...so you'd have to do a little more extensive troubleshooting and/or remove the font from your windows environment completely.
If an embedded font file has been subset then you will see the difference in font type when you open the file in Sigil (double-click the font-file in the Book Browser). I'm not sure if/how Calibre handles that??? The attached file was subset to include only the letters Aa-Dd and Ww-Zz)