From 626d8140baf91d5f50adb4e66ebd8fd7594b7502 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 7 May 2011 11:55:22 -0700 Subject: [PATCH] cairo: Left-justify text items rendered in the GUI. Otherwise multi-line syntax comes out right-justified, which looks really funny. Bug #33261. --- src/output/cairo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/cairo.c b/src/output/cairo.c index 8602e779..f74963d6 100644 --- a/src/output/cairo.c +++ b/src/output/cairo.c @@ -919,7 +919,7 @@ xr_rendering_create_text (struct xr_driver *xr, const char *text, cairo_t *cr) struct table_item *table_item; struct xr_rendering *r; - table_item = table_item_create (table_from_string (0, text), NULL); + table_item = table_item_create (table_from_string (TAB_LEFT, text), NULL); r = xr_rendering_create (xr, &table_item->output_item, cr); table_item_unref (table_item); -- 2.30.2