I'm reading a book (The Bright Lands by John Fram) that has a lot of text messages and emails that are supposed to display as sans serif, but Kobo seems to be ignoring that.
I've attached a picture of Nickle displaying the text.
Here is the code from the book:
Code:
<p class="body-text"><span class="ef"><span class="koboSpan" id="kobo.24.1">actually it’s not ok.</span></span></p>
<p class="body-text"><span class="koboSpan" id="kobo.25.1">Joel tried to call. </span><span class="koboSpan" id="kobo.25.2">It went to voice mail after two rings.</span></p>
<p class="body-text"><span class="ef"><span class="koboSpan" id="kobo.26.1">can’t talk rn</span></span><span class="koboSpan" id="kobo.27.1">, his brother wrote. </span><span class="ef"><span class="koboSpan" id="kobo.28.1">sorry.</span></span></p>
<p class="body-text"><span class="ef"><span class="koboSpan" id="kobo.29.1">Lil D</span></span><span class="koboSpan" id="kobo.30.1">, Joel wrote — an old pet name that felt rusty from disuse — </span><span class="ef"><span class="koboSpan" id="kobo.31.1">What’s wrong?</span></span></p>
<p class="body-text"><span class="ef"><span class="koboSpan" id="kobo.32.1">dumb dreams. </span><span class="koboSpan" id="kobo.32.2">bad dreams. </span><span class="koboSpan" id="kobo.32.3">i’m stupid.</span></span></p>
The class "ef" is supposed to display a different font. Here is the code from the style sheet:
Code:
.ef {
font-family: "Verdana", "Helvetica", "Arial", "Ubuntu", sans-serif;
font-style: normal;
font-weight: normal
}
I added the "Ubuntu" bit because that is a font installed on my Clara BW. I then downloaded and added Arial. Still no joy.
Other changes to the stylesheet do work. The body text was set to left and I changed it to justify. That worked.
Also, in Sigil, the different font does display. So it's just Nickle.
I'm travelling (I'm posting this from SeaTac airport). So I can edit the book in Sigil until my flight boards. But I can't do A/B testing with an ePub vs. kepub or see how calibre displays it right now.