View Single Post
Old 10-30-2022, 07:54 AM   #10
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by tatagi View Post
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)
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-10-30 075126.png
Views:	96
Size:	178.5 KB
ID:	197458  
Turtle91 is offline   Reply With Quote