1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 07:02:29 +02:00

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.
This commit is contained in:
Werner Almesberger 2016-08-02 17:16:43 -03:00
parent 0d41488f93
commit 56b4cb89cc

View File

@ -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);