aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-29 18:10:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-29 18:10:55 +0000
commit4302d3eb680e1bd88724b8d67a6659f44bcdf789 (patch)
treed70328d758ff8b22508425b0a7b848f63e1dccf1 /terminal.h
parentfont: 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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 89f3dc39..86b92d17 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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;