From 56b4cb89cc6f69deefd0cb2d3dfe27765fa60ec0 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 2 Aug 2016 17:16:43 -0300 Subject: [PATCH] eeshow/cro.c (cr_pdf_end): reduce line width to 0.5 * scale With 2, lines were far too thick. Note that the 0.5 points (1/72 in) we have now are roughly twice what XFig uses (1/160 in for PDF or PNG), yet things don't look very fat there. --- eeshow/cro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeshow/cro.c b/eeshow/cro.c index bfdf3f0..fd3fb85 100644 --- a/eeshow/cro.c +++ b/eeshow/cro.c @@ -390,7 +390,7 @@ static void cr_pdf_end(void *ctx) cairo_select_font_face(cc->cr, "Helvetica", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); - cairo_set_line_width(cc->cr, 2); + cairo_set_line_width(cc->cr, 0.5 * cc->scale); for (i = 0; i != cc->n_sheets; i++) { set_color(cc->cr, COLOR_WHITE);