mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
main: fallback for strikeout positioning seems to work
This commit is contained in:
parent
06f9495ae2
commit
9ded4b3de2
1 changed files with 0 additions and 2 deletions
2
main.c
2
main.c
|
|
@ -401,8 +401,6 @@ main(int argc, char *const *argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (f->strikeout.position == 0.) {
|
if (f->strikeout.position == 0.) {
|
||||||
assert(false);
|
|
||||||
/* TODO: fixme */
|
|
||||||
f->strikeout.position = height / 2. + descent;
|
f->strikeout.position = height / 2. + descent;
|
||||||
f->strikeout.thickness = f->underline.thickness;
|
f->strikeout.thickness = f->underline.thickness;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue