aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index d17d2128..8bfc3918 100644
--- a/terminal.h
+++ b/terminal.h
@@ -202,6 +202,11 @@ struct primary {
uint32_t serial;
};
+struct glyph_cache {
+ cairo_glyph_t *glyphs;
+ int count;
+};
+
struct font {
cairo_scaled_font_t *font;
struct {
@@ -212,6 +217,8 @@ struct font {
double position;
double thickness;
} strikeout;
+
+ struct glyph_cache glyph_cache[256];
};
struct terminal {