Quote:
Originally Posted by jackie_w
It isn't actually true to say that you MUST choose 'Publisher Default' if you have any embedded fonts because it depends on where the embedded fonts are applied.
For example, if you have a fancy embedded font used only for headings (h1, h2 etc) then there is usually no need to choose 'Publisher Default'. You can quite happily select any font you like from the Aa menu to display your main body text and the headings will still display in the fancy font.
Similarly, if you apply the fancy font in a <span> class, as per your Courgette example, you should also not need to choose 'Publisher Default'.
|
None of those work for me; when I choose Caecilia everything is in that font. My css file has
Code:
h1, h2, h3 {
font-weight: bold;
text-align: center;
margin-bottom: 2rem;
}
h1 {
font-size: 1.2rem;
}
h2 {
font-size: 1.1rem;
}
h3 {
font-family: "Courgette-Regular", sans-serif;
font-size: 1.0rem;
}
And the xhtml is as follows.
Code:
<body>
<h1>Capitulum I</h1>
<p><span class="courgette">Ea res est Helvetiis per</span> — courgette indicium <i>enuntiata</i>. <b>Moribus</b> suis Orgetoricem ex vinculis causam dicere coegerunt; damnatum poenam sequi oportebat, ut igni cremaretur.</p>
<h2 class="courgette">Capitulum I-A</h2>
<p><span class="devonshire">Ea res est Helvetiis per</span> — devonshire indicium enuntiata. Moribus suis Orgetoricem ex vinculis causam dicere coegerunt; damnatum poenam sequi oportebat, ut igni cremaretur.</p>
<h3>Capitulum I-B</h3>
<p><span class="drsugiyama">Ea res est Helvetiis per</span> — drsugiyama indicium enuntiata. Moribus suis Orgetoricem ex vinculis causam dicere coegerunt; damnatum poenam sequi oportebat, ut igni cremaretur.</p>
It's an epub3. I'm using the Kobo Touch Extended plugin. On the My Books page this book is listed as KOBO EPUB.