Configurable bar width ratio for Code25 barcodes

27 views
Skip to first unread message

Nick Soto

unread,
Jul 1, 2021, 11:36:39 PM7/1/21
to Barby
Hello,

the wide/narrow width ratio is hardcoded right now as 3:1: 

#The width of a wide bar in xdims
#By default three times as wide as a narrow bar
def wide_width
@wide_width || narrow_width*3
end

would it be possible to make this a configurable number (within the acceptable range) as an opt passed in on initialization? 


Reply all
Reply to author
Forward
0 new messages