mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-22 18:25:38 +02:00
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:
parent
2d343755ce
commit
c85e52c3c3
2 changed files with 26 additions and 26 deletions
8
font.h
8
font.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue