Quote:
Originally Posted by kovidgoyal
IIRC calibre is able to embed fonts from the fonts folder into LRF e-books. I use fontconfig to access them. I agree you cant using the windows APIs.
|
My biggest problem is QtWebKit and the lack of font variant support. When that gets fixed (possibly next Qt version), then I'll take a look into pulling out the fonts in a cross-platform way.
Quote:
Originally Posted by droople
Thank you for your reply, you mean I still need to write CSS manually?
|
Sadly, yes. See
this post.
Quote:
Originally Posted by ghostyjack
I've noticed that this new version adds the following CSS code:
body.sgc-1 {word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;}
This code gets added to every xhtml file in the text folder and sigil seems to want this line and will put it back in even if I remove it or transfer it to a CSS file.
Whats the significance of this line and why do I now need it?
|
That's just QtWebKit adding some CSS to your body tag that Tidy then pulls out into a separate CSS rule. It's always been in Sigil. The styles are WebKit specific so you can safely ignore it.