From 0ac4c3b275c0f43e49a5be8f16145544b4518ab1 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 12 Oct 2025 23:36:52 -0700 Subject: [PATCH] fix path extensions not getting written correctly --- klamath/elements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klamath/elements.py b/klamath/elements.py index 8c77162..ba72d47 100644 --- a/klamath/elements.py +++ b/klamath/elements.py @@ -316,7 +316,7 @@ class Path(Element): if self.width != 0: b += WIDTH.write(stream, self.width) - if self.path_type < 4: + if self.path_type == 4: bgn_ext, end_ext = self.extension if bgn_ext != 0: b += BGNEXTN.write(stream, bgn_ext)