Quote:
Originally Posted by Doitsu
AFAIK, @font-face is required for the definition of embedded fonts. For example:
Code:
@font-face {
font-family: 'DejaVu Sans';
src: url(../Fonts/DejaVuSans.ttf);
}
body {
font-family: 'DejaVu Sans', serif;
}
|
When I put that in the css file, I lose all the custom font formatting and it shows up in default sans-serif.
Without that, it displays fine in Sigil and on my computer in ePubreader, but doesn't work on my Sony or PEZ. (Shows up as default serif on ADE on a different computer.)
If I put single quotes around the font name, the font doesn't show up. I'm not sure if the font name with quotes should be one word or two, nor how I'd figure that out.