From a70b80c17d52225d120b8973f3d9b02ffc75ee7f Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Fri, 21 Feb 2020 12:20:25 +0100 Subject: [PATCH 2/2] Also allow '+Aa,' in SVG path descriptions See https://www.w3.org/TR/2011/REC-SVG11-20110816/paths.html#PathDataBNF --- scm/output-svg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm/output-svg.scm b/scm/output-svg.scm index a8a90e2d07..0f512f8ab7 100644 --- a/scm/output-svg.scm +++ b/scm/output-svg.scm @@ -194,7 +194,7 @@ ;; Matches the optional path data from (define glyph-path-regexp - (make-regexp "d=\"([-MmZzLlHhVvCcSsQqTtEe0-9.\n ]*)\"")) + (make-regexp "d=\"([+-MmZzLlHhVvCcSsQqTtAa0-9,.Ee\n ]*)\"")) ;; Matches a complete element with the glyph-name ;; attribute value of NAME. For example: -- 2.25.1