[Koha-devel] Adding fonts to Koha for label creator
dcook at prosentient.com.au
dcook at prosentient.com.au
Mon May 4 09:06:25 CEST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200504/6939d6ff/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200504/6939d6ff/attachment.sig>
More information about the Koha-devel
mailing list