chiark / gitweb /
Ignore stem hints in editor
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 11 Nov 2024 23:20:23 +0000 (23:20 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 14 Nov 2024 23:31:36 +0000 (23:31 +0000)
Though it would be neat if it could display them.

editor

diff --git a/editor b/editor
index d2d1b384b25f84d76d78dcde2ac17ba4260693f5..5674b577c7756bc74bdb591f34327e0f9c411a5a 100755 (executable)
--- a/editor
+++ b/editor
@@ -116,6 +116,7 @@ class EditorGui:
                 except:
                     if word == "rmoveto": self.rmoveto()
                     elif word == "rlineto": self.rlineto()
+                    elif word in ("hstem", "vstem"): self.stack = []
                     elif word == "endchar": pass
                     else:
                         print("unknown charstring component " + repr(word))