mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
Add curly-pixelated option for blocky undercurl style
This commit is contained in:
parent
b78cc92322
commit
7a41aab30e
3 changed files with 58 additions and 35 deletions
4
config.c
4
config.c
|
|
@ -1075,6 +1075,9 @@ parse_section_main(struct context *ctx)
|
|||
else if (streq(key, "underline-thickness"))
|
||||
return value_to_pt_or_px(ctx, &conf->underline_thickness);
|
||||
|
||||
else if (streq(key, "curly-pixelated"))
|
||||
return value_to_bool(ctx, &conf->curly_pixelated);
|
||||
|
||||
else if (streq(key, "strikeout-thickness"))
|
||||
return value_to_pt_or_px(ctx, &conf->strikeout_thickness);
|
||||
|
||||
|
|
@ -3475,6 +3478,7 @@ config_load(struct config *conf, const char *conf_path,
|
|||
.use_custom_underline_offset = false,
|
||||
.box_drawings_uses_font_glyphs = false,
|
||||
.underline_thickness = {.pt = 0., .px = -1},
|
||||
.curly_pixelated = false,
|
||||
.strikeout_thickness = {.pt = 0., .px = -1},
|
||||
.dpi_aware = false,
|
||||
.gamma_correct = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue