diff options
Diffstat (limited to 'tests/render_test.c')
-rw-r--r-- | tests/render_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/render_test.c b/tests/render_test.c index 51d4a3a..5c99542 100644 --- a/tests/render_test.c +++ b/tests/render_test.c @@ -52,12 +52,13 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data) cairo_surface_t *surface; SCBlock *scblocks = data; struct frame *top; + PangoLanguage *lang = pango_language_from_string("en_GB"); w = gtk_widget_get_allocated_width(da); h = gtk_widget_get_allocated_height(da); surface = render_sc(scblocks, w, h, w, h, NULL, NULL, NULL, - ISZ_EDITOR, 1, &top); + ISZ_EDITOR, 1, &top, lang); cairo_rectangle(cr, 0.0, 0.0, w, h); cairo_set_source_surface(cr, surface, 0.0, 0.0); cairo_fill(cr); |