aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-15 20:52:40 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-15 20:52:40 -0400
commita0d6a0e52f7474ac7881a8fd2d780bea3dedb56f (patch)
treeacaac6594c7bd5b16f1e84280b2e4a97a7d59e55 /display.c
parent2fbfa56f06883c7d78384d6fc11f05b16721c62d (diff)
downloadrunes-a0d6a0e52f7474ac7881a8fd2d780bea3dedb56f.tar.gz
runes-a0d6a0e52f7474ac7881a8fd2d780bea3dedb56f.zip
don't use the backend context here either
we never mess with any translation matrices, so there's no reason (i think) that this shouldn't just be the identity matrix always
Diffstat (limited to 'display.c')
-rw-r--r--display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/display.c b/display.c
index 260ca13..6d0441e 100644
--- a/display.c
+++ b/display.c
@@ -447,7 +447,7 @@ static cairo_scaled_font_t *runes_display_make_font(RunesTerm *t)
t->font_italic ? CAIRO_FONT_SLANT_ITALIC : CAIRO_FONT_SLANT_NORMAL,
t->font_bold ? CAIRO_FONT_WEIGHT_BOLD : CAIRO_FONT_WEIGHT_NORMAL);
cairo_matrix_init_scale(&font_matrix, t->font_size, t->font_size);
- cairo_get_matrix(t->backend_cr, &ctm);
+ cairo_matrix_init_identity(&ctm);
return cairo_scaled_font_create(
font_face, &font_matrix, &ctm, cairo_font_options_create());
}