Thanks Chris and Bernardo for getting back to me so quickly.
That’s good to know, although from the user experience point of view I don’t think that it’ll be sufficient, since it would still have the old font name in the web UI. I’ll take a deeper look today and report back. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Christopher Nighswonger <chris.nighswon...@gmail.com> Sent: Monday, 4 May 2020 10:51 PM To: Bernardo Gonzalez Kriegel <bgkrie...@gmail.com> Cc: David Cook <dc...@prosentient.com.au>; koha-devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Adding fonts to Koha for label creator On Mon, May 4, 2020 at 6:25 AM Bernardo Gonzalez Kriegel <bgkrie...@gmail.com <mailto:bgkrie...@gmail.com> > wrote: Hi David, 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. Changing paths in koha-conf.xml is enough, replacing entries for H and HB or any other. Hard-coded fonts are effectively defaults. They are installed by a dependency (I don't recall which atm.). Substituting fonts is done as Bernardo pointed out. Chris
signature.asc
Description: PGP signature
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/