From: Martin Mares Date: Thu, 4 Jun 2015 13:18:09 +0000 (+0200) Subject: Poskole: Adjust map scale X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=aa518aa44bad4d6498aa54967d04f40f33cbfe28;hp=65ad3116fc4ff85fdf8c2945f37d1d97cfe86c34;p=leo.git Poskole: Adjust map scale --- diff --git a/leo.c b/leo.c index a1b66a9..282f61e 100644 --- a/leo.c +++ b/leo.c @@ -51,7 +51,7 @@ static void draw_scale(struct svg *svg) double dist = 1000; double width = dist * map_scale; double x = page_width - 10 - width; - double y = page_height - 14; + double y = page_height - 15; svg_push_element(svg, "g"); svg_set_attr(svg, "id", "scale"); @@ -63,7 +63,7 @@ static void draw_scale(struct svg *svg) svg_set_attr(svg, "stroke-linecap", "square"); if (outline) { - svg_set_attr_dimen(svg, "stroke-width", 1.5); + svg_set_attr_dimen(svg, "stroke-width", 1.1); svg_set_attr_color(svg, "stroke", 0xffffff); } else