mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 12:11:52 +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:
parent
0d41488f93
commit
56b4cb89cc
@ -390,7 +390,7 @@ static void cr_pdf_end(void *ctx)
|
|||||||
|
|
||||||
cairo_select_font_face(cc->cr, "Helvetica", CAIRO_FONT_SLANT_NORMAL,
|
cairo_select_font_face(cc->cr, "Helvetica", CAIRO_FONT_SLANT_NORMAL,
|
||||||
CAIRO_FONT_WEIGHT_BOLD);
|
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++) {
|
for (i = 0; i != cc->n_sheets; i++) {
|
||||||
set_color(cc->cr, COLOR_WHITE);
|
set_color(cc->cr, COLOR_WHITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user