buntine / barcoders

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

how to set barcode width #19

Closed montecristoo closed 3 years ago

buntine commented 3 years ago

The width of a barcode is a function of the height and the x-dimension.

Basically, the base width of each vertical bar is specified by the "xdim" property. There are some examples in the README. If you want a wider barcode, increase the x-dimension.