From bc432588d79bf0c0ba61430e0b6fc4c8e754eef6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 15 Jun 2014 22:35:27 +0200 Subject: [PATCH] Disable logo drawing hacks --- Makefile | 10 +++++----- leo.c | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2221454..f2a7361 100644 --- a/Makefile +++ b/Makefile @@ -42,10 +42,10 @@ install: endif .PHONY: install -#output.svg: leo dump.osm poskole.css -# ./leo -# -#output.pdf: output.svg -# inkscape --export-pdf=output.pdf output.svg +output.svg: $(o)/leo dump.osm poskole.css + $(o)/leo + +output.pdf: output.svg + inkscape --export-pdf=output.pdf output.svg include $(BUILDSYS)/Makebottom diff --git a/leo.c b/leo.c index c873770..dea6cde 100644 --- a/leo.c +++ b/leo.c @@ -212,11 +212,14 @@ int main(int argc UNUSED, char **argv) } // FIXME: Replace by generic logo drawing facility +#if 0 struct svg_icon *logo = svg_icon_load(svg, "../logo/kocka-s-okrajem.svg"); +#endif sym_draw_all(svg); // Draw logo +#if 0 double logo_width = 36.12; double logo_height = 36.12 / logo->width * logo->height; struct svg_icon_request sir = { @@ -227,6 +230,7 @@ int main(int argc UNUSED, char **argv) .height = logo_height, }; svg_icon_put(svg, &sir); +#endif draw_scale(svg); -- 2.39.2