[latex3-commits] [git/LaTeX3-latex3-latex3] main: Correct init. code for dash pattern with dvisvgm (ffe5e5c00)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Dec 13 12:24:34 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/ffe5e5c00f515f0effb03db055866f7ffe5b5556

>---------------------------------------------------------------

commit ffe5e5c00f515f0effb03db055866f7ffe5b5556
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Dec 13 11:24:34 2021 +0000

    Correct init. code for dash pattern with dvisvgm


>---------------------------------------------------------------

ffe5e5c00f515f0effb03db055866f7ffe5b5556
 l3backend/CHANGELOG.md       | 1 +
 l3backend/l3backend-draw.dtx | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/l3backend/CHANGELOG.md b/l3backend/CHANGELOG.md
index 1825c2a05..2ae8b4ad7 100644
--- a/l3backend/CHANGELOG.md
+++ b/l3backend/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
 ### Fixed
 - Scoping issues for `dvisvgm`
 - An incorrect mapping function in the drawing backend
+- Dash pattern intialisation for `dvisvgm`
 
 ## [2021-10-17]
 
diff --git a/l3backend/l3backend-draw.dtx b/l3backend/l3backend-draw.dtx
index 945e7deed..119db3285 100644
--- a/l3backend/l3backend-draw.dtx
+++ b/l3backend/l3backend-draw.dtx
@@ -975,7 +975,7 @@
       {
         stroke-dasharray =
           "
-            \tl_if_empty:oTF { \use_none:n #1 }
+            \tl_if_empty:nTF {#1}
               { none }
               { \use_none:n #1 }
           " ~





More information about the latex3-commits mailing list.