Embedded fonts in kepub goes hiding...
While testing some things I embedded fonts for the very first time. Looked as expected in Sigil (and Calibre). Alright... ok on my kobo, yes! not ok on my kobo....what?!
I'm sure I'm doing some rookie mistake, but what?
The embedded fonts work fine as epub, but as kepub I have to set Font Face to Publisher Default. If I choose any font, which I usually do, they don't show.
(I searched but didn't find any info about this. If this was a real problem I think there would be discussions about it. Thus I think I'm doing something not correct.)
I'm using two different fonts, no difference between them.
Here is my code:
<p><span class="freemono">some text...</span></p>
css:
span.freemono { font-family: "FreeMono", serif; font-size: 1em; }
@font-face {
font-family: 'FreeMono';
font-weight: normal;
font-style: normal;
src: url('../Fonts/FreeMono.ttf');
}
Or is it something in Calibre and/or the kepub-plugin that needs to be set?
Last edited by patrik; 03-09-2016 at 03:32 PM.
|