From: Ben Pfaff Date: Sat, 7 May 2011 18:55:22 +0000 (-0700) Subject: cairo: Left-justify text items rendered in the GUI. X-Git-Tag: v0.7.9~314 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=626d8140baf91d5f50adb4e66ebd8fd7594b7502;p=pspp-builds.git cairo: Left-justify text items rendered in the GUI. Otherwise multi-line syntax comes out right-justified, which looks really funny. Bug #33261. --- 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);