![]() |
#256 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
I can reproduct this in my two archlinux machine.
After some debuging, I found that ZipFile::__del__ is not called, so ZipFile::close is not called two. But I can't tell why ZipFile::__del__ has not been called with override-css options. Maybe a explicit del will solve this problem? |
![]() |
![]() |
![]() |
#257 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've added an explicit call to close. Hopefully that will fix it for you.
|
![]() |
![]() |
![]() |
#258 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
|
![]() |
![]() |
![]() |
#259 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
Can you ignore some css styles, just like font-family? So it will not override the font set by '--override-css' ?
|
![]() |
![]() |
![]() |
#260 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
html2epub will delete < and the trailing characters in the line.
testcase: Code:
<html> <head> </head> <body> <p> A line with lt : < something </p> <p> A line with gt : > something </p> </body> </html> |
![]() |
![]() |
![]() |
#261 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#262 |
Reticulator of Tharn
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
#263 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well I've fixed that --override-css now has second highest priority behind <style title="override_css"> elements in the html file
|
![]() |
![]() |
![]() |
#264 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#265 | |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
Quote:
If html2epub can filter out the font-family property, the font-family specified in --override-css will always be used without exception. |
|
![]() |
![]() |
![]() |
#266 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
[QUOTE=JeffElkins;285508]
Quote:
|
|
![]() |
![]() |
![]() |
#267 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#268 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,397
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#269 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
|
![]() |
![]() |
![]() |
#270 | |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
Quote:
Embedded fonts is not so useful for CJK, because CJK font set is too large. Anyway, thanks. To JeffElkins: You can try substituting <br> to <p> before using html2epub. I may helps. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |