webstead: properly ignore cntrmask

This commit is contained in:
Ben Harris 2025-09-16 21:08:58 +01:00
parent 09c777481b
commit 568d7f43ab

View File

@ -25,6 +25,7 @@
.setAttribute("d", charstring
.replaceAll(/<!--(?:[^-]|-[^-])*-->/g, "")
.replace(/^.* [hv]stem /, "")
.replace(/^cntrmask [01]*/, "")
.replace(/^/, "m ")
.replaceAll(/ rmoveto/g, "")
.replaceAll(/ rlineto/g, "m")