Moved from the original bug 10762: (In reply to Jesse Maseto from comment #0) > I created a new layout (section 2.5.3.1 in the manual) that just shows the > barcode, and I set the font size big. First I did 14, then 32 just to make > sure my eyes weren't deceiving me. The numbers below the barcode didn't > change size! > > It seems like the font settings only affect the bibliographic data. What I > want to change is the barcode number itself.
Hello all, I'm interested in your advice on this because like this comment https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10762#c3 (related to the original bug) it may - may need to change the way barcodes are generated for this improvement. What do you think about it ?
I've been looking at C4::Labels::Label and PDF::Reuse::Barcode, and I've added a response on https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10762#c62 Bernardo wasn't quite right there, but yeah... I think the only way to fix this would be to update PDF::Reuse::Barcode to take configurable font-sizes rather than hard-coded sizes. I don't think Chris Nighswonger really works on Koha or Perl anymore, although he's still around sometimes. The code for PDF::Reuse::Barcode is... old. It's a bit difficult to read but not impossible. Someone could either adopt the module, send a PR, or we could potentially subclass it and overwrite the relevant methods in a "Koha::PDF::Reuse::Barcode" module...