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:
a65d2da
)
cairo: Set line width.
author
Ben Pfaff
<blp@gnu.org>
Tue, 9 Jun 2009 03:37:28 +0000
(20:37 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Tue, 9 Jun 2009 03:37:28 +0000
(20:37 -0700)
The default Cairo line width is much thinner than the default PSPP line
width, and made the boxes look too pale and ephemeral. This fixes it.
src/output/cairo.c
patch
|
blob
|
history
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 12cd5d9b00f858f6d1508012905c24bdd1164661..0a2190ebe5c9ad643fe2417a54429b357ee86cac 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-199,6
+199,7
@@
xr_open_driver (struct outp_driver *this, struct substring options)
cairo_scale (x->cairo, 1.0 / PANGO_SCALE, 1.0 / PANGO_SCALE);
cairo_translate (x->cairo, x->left_margin, x->top_margin);
+ cairo_set_line_width (x->cairo, x->line_width);
for (i = 0; i < OUTP_FONT_CNT; i++)
if (!load_font (this, &x->fonts[i]))