projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af57bc3
)
cairo: Left-justify text items rendered in the GUI.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 7 May 2011 18:55:22 +0000
(11:55 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 7 May 2011 18:55:22 +0000
(11:55 -0700)
Otherwise multi-line syntax comes out right-justified, which looks
really funny.
Bug #33261.
src/output/cairo.c
patch
|
blob
|
history
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 8602e7794672de9b5cfab720feaf3a5623f02f1a..f74963d682b2f6c3680f0c011ab734b43a51eb94 100644
(file)
--- 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);