OK - I got this to work on Calibre's ebook-viewer and in Sigil. As soon as I move it through Calibre to my PRS-505 the script is gone and I get a serif font in very small type.
Here is the css code:
@font-face {font-family: "Elegante, Regular"; font-style: normal; font-weight: normal; src:url("res:///Fonts/elegital.ttf");}
I didn't like how light the other font was so I changed to Elegante.
When I save the epub and then open it again in Sigil the res"///Fonts gets changed to ../Fonts
The definition of class letter is:
p.letter {font-family: "Elegante, Regular"; font-size:65%; line-height:225%; margin: 20px 40px 20px 40px; text-indent: 0; border: none; padding: 0px;}
I have a couple of lines of text defined as <p class="letter">. In Sigil it is in Elegante script. In the ebook-viewer it is Elegante script. On the PRS-505 it is the default serif font, but very small, this is due to the font-size and line-height in the css.
Can anyone see what I'm doing wrong here?
|