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

--- Comment #60 from David Cook <[email protected]> ---
(In reply to Katrin Fischer from comment #56)
> Trying to document this for our German version of the release notes we were
> wondering what the values actually refer to. It looks like they are scaling
> the barcode height and width, but what are the values it scales down and up
> from?

I get into this issue in bug 40473. 

Before bug 40473, the way the barcode width is scaled is by using "Barcode
width" to scale down the "Label width". That scaled down width is then divided
by a calculation of "barcode length" (this calculation is wrong but fixed in
bug 40473) to come up with the final x scale factor to apply to the barcode.

So if the barcode length is 300 points and the label width is 150 pts and
"Barcode width" is .8 or 80%, we multiply 150 pts by .8 to get 120 points of
usable label area for our barcode. We then divide 120 by 300 to get a X scale
factor of ".4". 300 multiplied by .4 = 120. And that's how the barcode width is
scaled.

I haven't looked into barcode height. I think that might be different, and I
the BARBIB format might not work correctly anymore... I can only manage so many
mouthfuls of elephant...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to