Skip to content

Commit 469c671

Browse files
committed
Fixed text_distance not applied in guarded mode
1 parent 024dcab commit 469c671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

barcode/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def render(self, code: list[str]):
293293
# The last text block is always put after the last guard end
294294
text["xpos"].append(text["end"][-1] + 4 * self.module_width)
295295

296-
ypos += pt2mm(self.font_size)
296+
ypos += pt2mm(self.font_size) + self.text_distance
297297

298298
# Split the ean into its blocks
299299
blocks = self.text.split(" ")

0 commit comments

Comments
 (0)