diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-28 10:39:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-28 10:39:56 +0000 |
| commit | c399c329b67d1655cf6fa48a180f29c5019a7c88 (patch) | |
| tree | 003eacd0dfe630451ad5dcfbd8f67e32a1d26f0b /terminal.h | |
| parent | render: use FreeType face from font, instead of from cairo's scaled font (diff) | |
main: calculate *all* font metrics from the FreeType face
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -325,7 +325,13 @@ struct terminal { struct grid *grid; struct font fonts[4]; - cairo_font_extents_t fextents; + //cairo_font_extents_t fextents; + struct { + int height; + int descent; + int ascent; + int max_x_advance; + } fextents; struct wayland wl; struct { |
