font: remove the fextents sub-struct

This commit is contained in:
Daniel Eklöf 2019-11-27 21:38:49 +01:00
parent 9fb3c58588
commit b48365aa86
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 11 additions and 13 deletions

10
font.h
View file

@ -41,12 +41,10 @@ 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 */
struct {
int height;
int descent;
int ascent;
int max_x_advance;
} fextents;
int height;
int descent;
int ascent;
int max_x_advance;
struct {
int position;