font: sync underline_strikeout_metrics() with more recent version of font

Sigh, I really need to break out font.c/font.h to a separate
library...
This commit is contained in:
Daniel Eklöf 2019-11-30 15:40:21 +01:00
parent 2d343755ce
commit c85e52c3c3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 26 additions and 26 deletions

8
font.h
View file

@ -47,13 +47,13 @@ struct font {
int max_x_advance;
struct {
int position;
int thickness;
double position;
double thickness;
} underline;
struct {
int position;
int thickness;
double position;
double thickness;
} strikeout;
hash_entry_t **cache;