mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:43:32 +02:00
Possible fix for style and images not included in produced pdf files on Windows.
This commit is contained in:
parent
09988d93de
commit
7eba89285e
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ def _render_next(self):
|
|||
|
||||
self.logger.debug('Processing %s...' % item)
|
||||
|
||||
self.view.load(QUrl(item))
|
||||
#self.view.load(QUrl(item))
|
||||
self.view.setHtml(open(item, 'r+b').read().decode('utf-8'), QUrl(item))
|
||||
|
||||
def _render_html(self, ok):
|
||||
if ok:
|
||||
|
|
|
|||
Loading…
Reference in a new issue