<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 4, 2020 at 6:25 AM Bernardo Gonzalez Kriegel <<a href="mailto:bgkriegel@gmail.com">bgkriegel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi David,<div> <br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-AU"><div><p class="MsoNormal"><u></u></p><p class="MsoNormal">How does one add fonts to Koha for the label creator?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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.</p></div></div></blockquote><div><br></div><div>Changing paths in koha-conf.xml is enough, replacing entries for H and HB or any other.</div><div><br></div></div></div></div></blockquote><div><br></div><div>Hard-coded fonts are effectively defaults. They are installed by a dependency (I don't recall which atm.).</div><div><br></div><div>Substituting fonts is done as Bernardo pointed out.</div><div><br></div><div>Chris<br></div></div></div>