mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-05 01:40:41 -05:00
Merge branch 'letter-spacing-regression'
This commit is contained in:
commit
d70a21355c
2 changed files with 6 additions and 1 deletions
|
|
@ -46,6 +46,11 @@
|
||||||
### Deprecated
|
### Deprecated
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* Regression: `letter-spacing` resulting in a “not a valid option”
|
||||||
|
error (https://codeberg.org/dnkl/foot/issues/795).
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
### Contributors
|
### Contributors
|
||||||
|
|
||||||
|
|
|
||||||
2
config.c
2
config.c
|
|
@ -956,7 +956,7 @@ parse_section_main(struct context *ctx)
|
||||||
return value_to_pt_or_px(ctx, &conf->line_height);
|
return value_to_pt_or_px(ctx, &conf->line_height);
|
||||||
|
|
||||||
else if (strcmp(key, "letter-spacing") == 0)
|
else if (strcmp(key, "letter-spacing") == 0)
|
||||||
value_to_pt_or_px(ctx, &conf->letter_spacing);
|
return value_to_pt_or_px(ctx, &conf->letter_spacing);
|
||||||
|
|
||||||
else if (strcmp(key, "horizontal-letter-offset") == 0)
|
else if (strcmp(key, "horizontal-letter-offset") == 0)
|
||||||
return value_to_pt_or_px(ctx, &conf->horizontal_letter_offset);
|
return value_to_pt_or_px(ctx, &conf->horizontal_letter_offset);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue