bump crengine: Harfbuzz light, WTF-8, corrupted ZIPs

Includes:
- EPUB: workaround ZIP files with corrupted central directories
- Supports book text encoded in WTF-8
- Harfbuzz kerning (full): fix possible wrong flags
- (Upstream) Adds new kerning method: Harfbuzz light, without ligatures

Adds Harfbuzz light kerning methods as the 3rd toggle.
pull/4487/head
poire-z 5 years ago
parent 77ec8e32e9
commit 19280078de

@ -1 +1 @@
Subproject commit 95da0edbba4ba03663d09d782d83d6edf5e95c19
Subproject commit e151ca4891a02044fdfdc2b95f9175b4ba6bd3ac

@ -182,17 +182,18 @@ Note that your selected font size is not affected by this setting.]]),
{
name = "font_kerning",
name_text = S.FONT_KERNING,
toggle = {S.OFF, S.FAST, S.ENHANCED},
values = {0, 1, 2},
toggle = {S.OFF, S.FAST, S.GOOD, S.BEST},
values = {0, 1, 2, 3},
default_value = 1,
args = {0, 1, 2},
args = {0, 1, 2, 3},
event = "SetFontKerning",
name_text_hold_callback = optionsutil.showValues,
help_text = _([[Font kerning is the process of adjusting the spacing between individual letter forms, to achieve a visually pleasing result.
- off: no kerning.
- fast: use FreeType's kerning implementation (no ligatures).
- enhanced: use HarfBuzz's kerning implementation (slower, but may support ligatures with some fonts).
- good: use HarfBuzz's light kerning implementation (faster than full but no ligatures and limited support for non-western scripts)
- best: use HarfBuzz's full kerning implementation (slower, but may support ligatures with some fonts).
(Font Hinting may need to be adjusted for the best result with either kerning implementation.)]]),
},

@ -50,6 +50,8 @@ S.DEFAULT = _("default")
S.DARKER = _("darker")
S.NATIVE = _("native")
S.FAST = _("fast")
S.GOOD = _("good")
S.BEST = _("best")
S.ENHANCED = _("enhanced")
S.LOW = _("low")
S.HIGH = _("high")

Loading…
Cancel
Save