mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix #5027 (Sony quirks needs to follow page splitting)
This commit is contained in:
parent
cbfb4ac520
commit
09e7ada934
1 changed files with 2 additions and 2 deletions
|
|
@ -157,11 +157,9 @@ def convert(self, oeb, output_path, input_plugin, opts, log):
|
|||
|
||||
self.workaround_ade_quirks()
|
||||
self.workaround_webkit_quirks()
|
||||
self.workaround_sony_quirks()
|
||||
from calibre.ebooks.oeb.transforms.rescale import RescaleImages
|
||||
RescaleImages()(oeb, opts)
|
||||
|
||||
|
||||
from calibre.ebooks.oeb.transforms.split import Split
|
||||
split = Split(not self.opts.dont_split_on_page_breaks,
|
||||
max_flow_size=self.opts.flow_size*1024
|
||||
|
|
@ -170,6 +168,8 @@ def convert(self, oeb, output_path, input_plugin, opts, log):
|
|||
|
||||
self.insert_cover()
|
||||
|
||||
self.workaround_sony_quirks()
|
||||
|
||||
with TemporaryDirectory('_epub_output') as tdir:
|
||||
from calibre.customize.ui import plugin_for_output_format
|
||||
oeb_output = plugin_for_output_format('oeb')
|
||||
|
|
|
|||
Loading…
Reference in a new issue