4 May
2020
4 May
'20
2:50 p.m.
On Mon, May 4, 2020 at 6:25 AM Bernardo Gonzalez Kriegel < bgkriegel@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