summaryrefslogtreecommitdiff
path: root/gfx/cro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/cro.c')
-rw-r--r--gfx/cro.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/cro.c b/gfx/cro.c
index 3ba3bb0..abb27c9 100644
--- a/gfx/cro.c
+++ b/gfx/cro.c
@@ -242,10 +242,9 @@ static void cr_text_pango(void *ctx, int x, int y, const char *s, unsigned size,
PangoRectangle ink;
pango_font_description_set_absolute_size(cc->pango_desc,
-// pango_font_description_set_size(cc->pango_desc,
cd(cc, size) * TEXT_STRETCH * PANGO_SCALE);
- pango_layout_set_text(cc->pango_layout, s, -1);
pango_layout_set_font_description(cc->pango_layout, cc->pango_desc);
+ pango_layout_set_text(cc->pango_layout, s, -1);
pango_layout_get_extents(cc->pango_layout, &ink, NULL);
set_color(cc, color);