Quote:
Originally Posted by Katsunami
Using a bold font as regular is not a good idea, if there's any chance the book also has bold text. I think an "extra bold" font would be quite ugly...
|
The custom font can be comprised of elements from more than one font.
- normal
- italic
- bold
- bold italic
In the past I've used a heavier, or bold, font for normal and
italic, and used a different font for
bold and
bold italic to differentiate them without making them too bold. It is not the best solution of course, but until Kindles allow us to adjust font thickness it will work, for me that is.
Code:
@font-face {
font-family: "CaeciliaHeavy";
font-weight: normal;
font-style: normal;
src: url("../Fonts/Caecilia-Bold.otf");
}
@font-face {
font-family: "CaeciliaHeavy";
font-weight: normal;
font-style: italic;
src: url("../Fonts/Caecilia-BoldItalic.otf");
}
@font-face {
font-family: "CaeciliaHeavy";
font-weight: bold;
font-style: normal;
src: url("../Fonts/Caecilia-Heavy.otf");
}
@font-face {
font-family: "CaeciliaHeavy";
font-weight: bold;
font-style: italic;
src: url("../Fonts/Caecilia-HeavyItalic.otf");
}
body {
font-family: "CaeciliaHeavy";
}