mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
test: config: tweak.grapheme-shaping can’t be set when grapheme-clustering has been disabled
This commit is contained in:
parent
9bd9f55d5a
commit
467e4f2ef8
1 changed files with 5 additions and 0 deletions
|
|
@ -1137,8 +1137,13 @@ test_section_tweak(void)
|
||||||
#endif
|
#endif
|
||||||
test_boolean(&ctx, &parse_section_tweak, "damage-whole-window",
|
test_boolean(&ctx, &parse_section_tweak, "damage-whole-window",
|
||||||
&conf.tweak.damage_whole_window);
|
&conf.tweak.damage_whole_window);
|
||||||
|
|
||||||
|
#if defined(FOOT_GRAPHEME_CLUSTERING)
|
||||||
test_boolean(&ctx, &parse_section_tweak, "grapheme-shaping",
|
test_boolean(&ctx, &parse_section_tweak, "grapheme-shaping",
|
||||||
&conf.tweak.grapheme_shaping);
|
&conf.tweak.grapheme_shaping);
|
||||||
|
#else
|
||||||
|
/* TODO: the setting still exists, but is always forced to ‘false’. */
|
||||||
|
#endif
|
||||||
|
|
||||||
test_enum(
|
test_enum(
|
||||||
&ctx, &parse_section_tweak, "grapheme-width-method",
|
&ctx, &parse_section_tweak, "grapheme-width-method",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue