mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Add link to chromium bug for hyphenate char on macos
This commit is contained in:
parent
f9fb012322
commit
831a67d127
@ -35,6 +35,7 @@
|
||||
// is U+2010 but that does not render with the default Times font on macOS as of Monterey
|
||||
// and Qt 15.5 See https://bugs.launchpad.net/bugs/1951467 and can be easily reproduced
|
||||
// by converting a plain text file with the --pdf-hyphenate option
|
||||
// https://bugs.chromium.org/p/chromium/issues/detail?id=1267606 (fix released Feb 1 2022 v98)
|
||||
// See also settings.pyj
|
||||
if (HYPHEN_CHAR) {
|
||||
for (const elem of document.getElementsByTagName('*')) {
|
||||
|
@ -79,6 +79,7 @@ def apply_colors(is_content_popup):
|
||||
# is U+2010 but that does not render with the default Times font on macOS as of Monterey
|
||||
# and Qt 15.5 See https://bugs.launchpad.net/bugs/1951467 and can be easily reproduced
|
||||
# by converting a plain text file with the --pdf-hyphenate option
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=1267606 (fix released Feb 1 2022 v98)
|
||||
# See also pdf-preprint.js
|
||||
text += '\n* { -webkit-hyphenate-character: "-" !important }\n'
|
||||
if opts.override_book_colors is not 'never':
|
||||
|
Loading…
x
Reference in New Issue
Block a user