test: config: tweak.grapheme-shaping can’t be set when grapheme-clustering has been disabled

This commit is contained in:
Daniel Eklöf 2022-01-13 12:26:20 +01:00
parent 9bd9f55d5a
commit 467e4f2ef8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1137,8 +1137,13 @@ test_section_tweak(void)
#endif
test_boolean(&ctx, &parse_section_tweak, "damage-whole-window",
&conf.tweak.damage_whole_window);
#if defined(FOOT_GRAPHEME_CLUSTERING)
test_boolean(&ctx, &parse_section_tweak, "grapheme-shaping",
&conf.tweak.grapheme_shaping);
#else
/* TODO: the setting still exists, but is always forced to false. */
#endif
test_enum(
&ctx, &parse_section_tweak, "grapheme-width-method",