mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Kobo driver: Fix hyphenation settings not being applied correctly when generating KEPUB to put on the device
This commit is contained in:
parent
28c1cb4711
commit
e1fa22748f
@ -2347,10 +2347,10 @@ class KOBOTOUCH(KOBO):
|
||||
extra_css=self.extra_css or '',
|
||||
affect_hyphenation=bool(self.get_pref('affect_hyphenation')),
|
||||
disable_hyphenation=bool(self.get_pref('disable_hyphenation')),
|
||||
hyphenation_min_chars=bool(self.get_pref('hyphenation_min_chars')),
|
||||
hyphenation_min_chars_before=bool(self.get_pref('hyphenation_min_chars_before')),
|
||||
hyphenation_min_chars_after=bool(self.get_pref('hyphenation_min_chars_after')),
|
||||
hyphenation_limit_lines=bool(self.get_pref('hyphenation_limit_lines')),
|
||||
hyphenation_min_chars=self.get_pref('hyphenation_min_chars'),
|
||||
hyphenation_min_chars_before=self.get_pref('hyphenation_min_chars_before'),
|
||||
hyphenation_min_chars_after=self.get_pref('hyphenation_min_chars_after'),
|
||||
hyphenation_limit_lines=self.get_pref('hyphenation_limit_lines'),
|
||||
remove_at_page_rules=self.extra_css_options.get('has_atpage', False),
|
||||
remove_widows_and_orphans=self.extra_css_options.get('has_widows_orphans', False),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user