mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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.
This commit is contained in:
2
base
2
base
Submodule base updated: 95da0edbba...e151ca4891
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user