Skip to content

Commit

Permalink
fix code39 barcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Grainger committed Jul 12, 2017
1 parent 16b4792 commit 3767c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elaphe/code39.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _text_bbox(self, codestring):
textmaxy = textyoffset + textsize
textmaxx = 16*(len(codestring)+1)+0.6*textsize
if hidestars:
textmaxx = 16, textmaxx-16
textmaxx = textmaxx - 16
return [0, textyoffset, textmaxx, textmaxy]

def build_params(self, codestring):
Expand Down

0 comments on commit 3767c4e

Please sign in to comment.