[Koha-bugs] [Bug 39969] Show a single (line-based image) barcode of a selected item under cataloguing/additem.pl

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39969

--- Comment #3 from Theodoros Theodoropoulos  ---
I'm not submitting a .patch file, because I know you'll fine-tune the code
several times before it's accepted, you'll need a QA/test procedure, etc, but
the simple/ugly looking but working prototype would be something like that:

---
/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt.orig
  2025-05-20 17:55:30.691074105 +0300
+++
/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt  
 2025-05-22 12:42:35.295432403 +0300
@@ -138,9 +138,6 @@
  
  Print label
  
+ 
+ Show
barcode
+ 
  [% UNLESS item.nomod %]
  
  

-- 
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/


[Koha-bugs] [Bug 39969] Show a single (line-based image) barcode of a selected item under cataloguing/additem.pl

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39969

--- Comment #2 from Theodoros Theodoropoulos  ---
The 2D barcode creation library has a 'bug', that makes the default created
barcode images unreadable under dark-themed browsers. The barcode image itself
is OK, the dark background combined with the black lines of the barcode create
the issue. I've opened an issue to the GD:Barcode library author, here:
https://github.com/mbeijen/GD-Barcode/issues/9
QR barcodes are not affected, as they have a white border already applied
around the black dots.

-- 
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/


[Koha-bugs] [Bug 39969] Show a single (line-based image) barcode of a selected item under cataloguing/additem.pl

2025-05-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39969

--- Comment #1 from Theodoros Theodoropoulos  ---
Kudos to Fridolin for the quick brainstorming, where he mentioned the
/svc/barcode?barcode=XXX endpoint :)

Alternative JS library that seems promising and could be applied to end-user's
browser:
https://github.com/lindell/JsBarcode?tab=readme-ov-file

-- 
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/