Style tweaks: add "Ignore publisher line-break restrictions"

reviewable/pr8645/r1
poire-z 2 years ago
parent 71172253b7
commit 9e1f1f19cc

@ -304,6 +304,14 @@ DocFragment {
h1, h2, h3, h4, h5, h6 { hyphens: none !important; }
]],
},
{
id = "line_break_cre_loose";
title = _("Ignore publisher line-break restrictions"),
description = _([[
A publisher might use non-breaking spaces and hyphens to avoid line breaking between some words, which is not always necessary and may have been added to make reading easier. This can cause large word spacing on some lines.
Ignoring them will only use KOReader's own typography rules for line breaking.]]),
css = [[* { line-break: -cr-loose; }]],
},
{
id = "ligature_all_no_common_ligature";
title = _("Disable common ligatures"),

Loading…
Cancel
Save