https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24535

Janusz Kaczmarek <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Signed Off

--- Comment #12 from Janusz Kaczmarek <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to