diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:10:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:10:55 +0000 |
| commit | 4302d3eb680e1bd88724b8d67a6659f44bcdf789 (patch) | |
| tree | d70328d758ff8b22508425b0a7b848f63e1dccf1 /terminal.h | |
| parent | font: populate glyph cache (ASCII characters only) when instantiating font (diff) | |
font: set FT load and render flags from FontConfig properties
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -215,6 +215,9 @@ struct glyph { struct font { FT_Face face; + int load_flags; + int render_flags; + FT_LcdFilter lcd_filter; struct { double position; double thickness; @@ -225,6 +228,7 @@ struct font { } strikeout; struct glyph cache[256]; + mtx_t lock; }; enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR }; @@ -326,7 +330,6 @@ struct terminal { struct grid *grid; struct font fonts[4]; - //cairo_font_extents_t fextents; struct { int height; int descent; |
