mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +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:
parent
77ec8e32e9
commit
19280078de
2
base
2
base
@ -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 = "font_kerning",
|
||||||
name_text = S.FONT_KERNING,
|
name_text = S.FONT_KERNING,
|
||||||
toggle = {S.OFF, S.FAST, S.ENHANCED},
|
toggle = {S.OFF, S.FAST, S.GOOD, S.BEST},
|
||||||
values = {0, 1, 2},
|
values = {0, 1, 2, 3},
|
||||||
default_value = 1,
|
default_value = 1,
|
||||||
args = {0, 1, 2},
|
args = {0, 1, 2, 3},
|
||||||
event = "SetFontKerning",
|
event = "SetFontKerning",
|
||||||
name_text_hold_callback = optionsutil.showValues,
|
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.
|
help_text = _([[Font kerning is the process of adjusting the spacing between individual letter forms, to achieve a visually pleasing result.
|
||||||
|
|
||||||
- off: no kerning.
|
- off: no kerning.
|
||||||
- fast: use FreeType's kerning implementation (no ligatures).
|
- 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.)]]),
|
(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.DARKER = _("darker")
|
||||||
S.NATIVE = _("native")
|
S.NATIVE = _("native")
|
||||||
S.FAST = _("fast")
|
S.FAST = _("fast")
|
||||||
|
S.GOOD = _("good")
|
||||||
|
S.BEST = _("best")
|
||||||
S.ENHANCED = _("enhanced")
|
S.ENHANCED = _("enhanced")
|
||||||
S.LOW = _("low")
|
S.LOW = _("low")
|
||||||
S.HIGH = _("high")
|
S.HIGH = _("high")
|
||||||
|
Loading…
Reference in New Issue
Block a user