From 2a0836e3bd86efc3e6eabc039aace6839684ef63 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 17 Apr 2016 10:47:08 -0400 Subject: [PATCH] Add support for pango markup --- wayland/pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland/pango.c b/wayland/pango.c index d79d89b3..da0b0bfc 100644 --- a/wayland/pango.c +++ b/wayland/pango.c @@ -8,7 +8,7 @@ PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text) { PangoLayout *layout = pango_cairo_create_layout(cairo); - pango_layout_set_text(layout, text, -1); + pango_layout_set_markup(layout, text, -1); PangoFontDescription *desc = pango_font_description_from_string(font); pango_layout_set_font_description(layout, desc); pango_layout_set_single_paragraph_mode(layout, 1);