buntine / barcoders

A barcode encoding library for the Rust programming language
Apache License 2.0
164 stars 24 forks source link

Not rendering ITF barcodes properly #27

Closed kewynakshlley closed 9 months ago

kewynakshlley commented 10 months ago

I am trying to render a barcode as ITF and generates a fuzzy barcode, here is the code:

https://github.com/zachzurn/thermal/blob/main/thermal_parser/src/commands/barcode.rs

image

Could you guys double check why it's happening? Barcodes with symbologies other than ITF are fine.