Use SVG attribute crispEdges for ppsepaqr output.
authorWerner Koch <wk@gnupg.org>
Tue, 30 May 2017 18:18:53 +0000 (20:18 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 30 May 2017 18:18:53 +0000 (20:18 +0200)
* src/ppsepaqr.c (encode): Add attribute.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/ppsepaqr.c

index 91e0b1c..0b5b345 100644 (file)
@@ -261,6 +261,7 @@ encode (const char *text, estream_t fp)
               "<svg width=\"%0.2fcm\" height=\"%0.2fcm\""
               " viewBox=\"0 0 %d %d\"\n"
               "     preserveAspectRatio=\"none\" version=\"1.1\"\n"
+              "     shape-rendering=\"crispEdges\"\n"
               "     xmlns=\"http://www.w3.org/2000/svg\">\n"
               "  <g id=\"QRcode\">\n"
               "    <rect x=\"0\" y=\"0\" width=\"%d\" height=\"%d\""