Skip to content

Commit e512832

Browse files
committed
Fixed text_distance not applied in guarded mode
1 parent aaa738f commit e512832

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
@@ -284,7 +284,7 @@ def render(self, code):
284284
# Split the ean into its blocks
285285
self.text = self.text.split(" ")
286286

287-
ypos += pt2mm(self.font_size)
287+
ypos += pt2mm(self.font_size) + self.text_distance
288288

289289
blocks = self.text
290290
for text_, xpos in zip(blocks, text["xpos"]):

0 commit comments

Comments
 (0)