aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'font.h')
-rw-r--r--font.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/font.h b/font.h
index 9eebd0a9..a01416dc 100644
--- a/font.h
+++ b/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;