Closed santiagovassallo closed 6 months ago
Did you manage to work around this?
Yes, sorry! I should have posted how I did it when I closed this. Here it is!
...
encoder = barcode.get_barcode_class('code128')
codigo_128 = encoder(codigo, writer=ImageWriter())
buffer = BytesIO()
codigo_128.write(buffer, options={'font_size': 6})
...
It was just a matter or changing the font size from the default 10 to something smaller. Thanks man!
Hello! I'm facing this issue
This is the code snippet I've used
The thing is, all the codes I need to create are like that, meaning they are a string of 59 chars (digits actually) long.
I tested the bars with a reader and it works, however, the human readable part is cut short.
Is there any option I may be missing to fix this?
Thanks a lot!