picqer / php-barcode-generator

Barcode generator in PHP that is easy to use, non-bloated and framework independent.
GNU Lesser General Public License v3.0
1.67k stars 402 forks source link

SVG: widthFactor can be real number #170

Closed cuchac closed 1 year ago

cuchac commented 2 years ago

To allow arbitrary barcode width, widthFactor can be float, everything works as expected.

cuchac commented 1 year ago

Can you please consider this pull? Or is there a reason scale factor switched from float to int?

EsbenSunddal commented 1 year ago

Yes, please merge this fix into master - I need it to :)

casperbakker commented 1 year ago

Thanks for the addition