mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
font: move metrics from terminal struct to font struct
This commit is contained in:
parent
431800a8a5
commit
bc86cd61c7
5 changed files with 35 additions and 34 deletions
6
font.h
6
font.h
|
|
@ -46,6 +46,12 @@ struct font {
|
|||
double pixel_size_fixup; /* Scale factor - should only be used with ARGB32 glyphs */
|
||||
bool bgr; /* True for FC_RGBA_BGR and FC_RGBA_VBGR */
|
||||
|
||||
/* font extents */
|
||||
int height;
|
||||
int descent;
|
||||
int ascent;
|
||||
int max_x_advance;
|
||||
|
||||
struct {
|
||||
int position;
|
||||
int thickness;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue