View Single Post
Old 03-07-2010, 08:08 AM   #67
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by kovidgoyal View Post
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 View Post
Thank you for your reply, you mean I still need to write CSS manually?
Sadly, yes. See this post.

Quote:
Originally Posted by ghostyjack View Post
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.
Valloric is offline   Reply With Quote