aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-22 22:02:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-23 18:50:05 +0000
commitc1c0f11821e36e96add5060916d83533308b4126 (patch)
tree4dce038269cbd99306f5c05e009e318660f78d24 /config.h
parentchangelog: add new ‘unreleased’ section (diff)
config: add tweak.grapheme-width-method=max
‘max’ is a new value for ‘tweak.grapheme-width-method’. When enabled, the width of a grapheme cluster is that of the cluster’s widest codepoint.
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index 652f8422..afe9cf74 100644
--- a/config.h
+++ b/config.h
@@ -256,7 +256,11 @@ struct config {
enum fcft_scaling_filter fcft_filter;
bool overflowing_glyphs;
bool grapheme_shaping;
- enum {GRAPHEME_WIDTH_WCSWIDTH, GRAPHEME_WIDTH_DOUBLE} grapheme_width_method;
+ enum {
+ GRAPHEME_WIDTH_WCSWIDTH,
+ GRAPHEME_WIDTH_DOUBLE,
+ GRAPHEME_WIDTH_MAX,
+ } grapheme_width_method;
bool render_timer_osd;
bool render_timer_log;
bool damage_whole_window;