https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24535 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Signed Off --- Comment #12 from Janusz Kaczmarek <januszop@gmail.com> --- (In reply to Jonathan Druart from comment #8)
Should this be adjusted as well?
C4/Labels/Label.pm 539 #NOTE: Barcode length algorithm comes from PDF::Reuse::Barcode 540 #NOTE: 20 is arbitrary padding added to the barcode background by PDF::Reuse::Barcode 541 my $oGdB = GD::Barcode::Code39->new("*$params{'barcode_data'}*"); 542 my $whole_barcode_length = ( length( $oGdB->barcode() ) * 0.9 ) + 20;
It seems to me that this "20" is just a kind of padding in labels, but not the barcode length itself. The coincidence of the two “20s” seems accidental. -- You are receiving this mail because: You are watching all bug changes.