View Single Post
Old 09-15-2024, 10:46 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,622
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Seth H View Post
When using Run Check in Edit Book I sometimes come up with an "Unexpected Missing Generic Font Family (Style Sheet.css)” error.
When specifying a font, you should also include a fallback font.
eg. You have this in your css file... font-family: "ATSackersGothic";
You need to add a fallback font... font-family: "ATSackersGothic", sans-serif;
The fallback font is the "Generic Font Family" the checker is asking for.


Quote:
Originally Posted by Seth H View Post
Why therefore does the epub display correctly when Edit Book shows no font?
You don't need to embed any fonts in your ebook as the ereader will just use the default fonts installed on the ereader.

You can read more here... https://www.w3schools.com/css/css_font.asp
Karellen is offline   Reply With Quote