main: fallback for strikeout positioning seems to work

This commit is contained in:
Daniel Eklöf 2019-07-16 16:07:55 +02:00
parent 06f9495ae2
commit 9ded4b3de2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -401,8 +401,6 @@ main(int argc, char *const *argv)
}
if (f->strikeout.position == 0.) {
assert(false);
/* TODO: fixme */
f->strikeout.position = height / 2. + descent;
f->strikeout.thickness = f->underline.thickness;
}