cre: add Word Gap setting to bottom config panel (#4026)

Maps to crengine's Space Condensing feature (named Word Gap
as a similar feature is named for PDF)
This commit is contained in:
Robert
2018-06-30 16:55:43 +02:00
committed by poire-z
parent 27dfa30181
commit d29a65b96e
7 changed files with 45 additions and 19 deletions

View File

@@ -155,6 +155,19 @@ local CreOptions = {
args = {0, 1, 2},
event = "SetFontHinting",
name_text_hold_callback = optionsutil.showValues,
},
{
name = "space_condensing",
name_text = S.WORD_GAP,
toggle = {S.SMALL, S.MEDIUM, S.LARGE},
values = {50, 75, 100},
default_value = 75,
args = {50, 75, 100},
event = "SetSpaceCondensing",
name_text_hold_callback = optionsutil.showValues,
-- used by showValues
name_text_suffix = "%",
name_text_true_values = true,
}
}
},