Thread: EPUB output
View Single Post
Old 05-04-2010, 02:40 PM   #676
davotibarna
Member
davotibarna began at the beginning.
 
davotibarna's Avatar
 
Posts: 17
Karma: 10
Join Date: Dec 2009
Location: Oslo, Norway
Device: Nook
I did what dwanthny suggested, set up a short script and run the conversions on the command line in debug mode. Surprise: all of them got converted correctly. Then I run the GUI conversions again and realized 2 things:

1. Bela.lrf
The "Extra CSS" was set under preferences but when I run the conversion for this ebook, the "Extra CSS" field was empty in the conversion dialog under "Look & Feel". Hmmm.... it must mean that Calibre remembers a kind of "conversion profile" for each ebook which was converted before? This individual conversion profile must overwrite the global preferences.

2. SG.hu.lrf
I cannot explain this. It's great if I run this from the command line, but this line is missing from the style (in xhtml) when I run it from the GUI:
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-Italic.ttf)

So CL version has this style:
@font-face {
font-style: italic;
font-family: "LiberationSerif", serif, sans-serif;
font-weight: normal;
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-Italic.ttf)
}

The GUI version is lacking:
@font-face {
font-style: italic;
font-family: "LiberationSerif", serif, sans-serif;
font-weight: normal
}


I've doublechecked the parameters, I believe I use the same for both the GUI and CL.
davotibarna is offline   Reply With Quote