Hi all,
How does one add fonts to Koha for the label creator?
I’m curious about adding “Arial” ( or rather LiberationSans-Regular.ttf as matched by fc-match) and “Arial Bold” (or rather Roboto-Regular.ttf as matched by fc-match) to the Koha label creator.
I see we have a hard-coded list of font types in C4/Creators/Lib.pm. There is also a list of TTF files in etc/koha-conf.xml.
I could update both places, but I am wondering if that’s enough. I’ve tried to read https://metacpan.org/release/PDF-Reuse/source/lib/PDF/Reuse.pm but the mix of English and Swedish makes progress a bit slow. Based on sub Font in C4/Creators/PDF.pm, I’m guessing that’s it?
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Online: 02 8005 0595