mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04:00
main: calculate *all* font metrics from the FreeType face
This commit is contained in:
parent
27dca15caf
commit
c399c329b6
2 changed files with 25 additions and 10 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue