I use an aluratek Libre with Sigil and have successfully embedded fonts in my .epub files that render properly on the libre.
@font-face {
font-family: FreeMono, Regular;
font-weight: normal;
font-style: normal;
src: url(../fonts/FreeMono.ttf);
}
My version of Sigil does not create the font subdirectory in the .epub file automatically, so I have to move the fonts required by my book into the .epub file manually; apart from that it's all good. Additionally, Sigil will also wipe out any existing fonts sub-directory in the .epub file on save, so I have to add those files back in each time.
Small price to pay though, to get all the fonts I like on my books, and not be restricted to the 'built-in' selection. Thanks to Sigil and to Aluratek
Edit Update: Sigil 0.2.0 beta MAY make adding embedded fonts to .epubs almost as easy as adding images. ( but it's not quite there yet )
Last edited by asperger; 04-17-2010 at 09:53 AM.
Reason: update to newer version... then back again.
|