From a0cbdb9d057386be7540e2fe2d43d7808213e6d4 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 19 Nov 2024 22:27:47 +0000 Subject: [PATCH] Skip XML comments when reading charstrings in editor --- editor | 1 + 1 file changed, 1 insertion(+) diff --git a/editor b/editor index 88db3b8..df2ca61 100755 --- a/editor +++ b/editor @@ -121,6 +121,7 @@ class EditorGui: else: print("unknown charstring component " + repr(word)) interp = CharstringInterpreter() + data = re.sub(r"", "", data) for word in data.split(): interp.op(word) paths = [[[int((float(x)-LEFT)*pixel*0.01 + 2*gutter + XSIZE*pixel), -- 2.30.2