From: Ben Pfaff Date: Tue, 9 Jun 2009 03:37:28 +0000 (-0700) Subject: cairo: Set line width. X-Git-Tag: v0.7.3~51 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f86db0d1ae9c9fe1970fc5134826f843d52273a;p=pspp-builds.git cairo: Set line width. 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. --- diff --git a/src/output/cairo.c b/src/output/cairo.c index 12cd5d9b..0a2190eb 100644 --- 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]))