fix path extensions not getting written correctly

This commit is contained in:
jan 2025-10-12 23:36:52 -07:00
parent ae9c2d7b5f
commit 0ac4c3b275

View File

@ -316,7 +316,7 @@ class Path(Element):
if self.width != 0: if self.width != 0:
b += WIDTH.write(stream, self.width) b += WIDTH.write(stream, self.width)
if self.path_type < 4: if self.path_type == 4:
bgn_ext, end_ext = self.extension bgn_ext, end_ext = self.extension
if bgn_ext != 0: if bgn_ext != 0:
b += BGNEXTN.write(stream, bgn_ext) b += BGNEXTN.write(stream, bgn_ext)