[Koha-bugs] [Bug 25384] Label maker font list is not configurable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 2 04:08:34 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25384

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|This enhancement lets you   |This enhancement lets you
      release notes|configure the label maker   |configure the label maker
                   |font list by editing        |font list and add new
                   |koha-conf.xml. It fetches   |fonts. It fetches the <ttf>
                   |the "ttf" element in        |section from koha-conf.xml,
                   |koha-conf.xml, and looks    |and looks for entries with
                   |for entries with a "name"   |a "name" attribute:
                   |attribute.
                 |- For
                   |- If it's an                |an existing default font,
                   |existing default font, it   |it will rename that font in
                   |will rename that font.
     |the font list.
                   |- If                        |- For a new
                   |it's a new font, it will    |font, it will add it to the
                   |add it to the font list in  |font list in the label
                   |the label creator pages.
   |creator pages.
                   |-                           |- If you
                   |If you don't change         |don't change anything in
                   |anything in koha-conf.xml,  |koha-conf.xml, then there
                   |then there is no behaviour  |is no behaviour change.
                   |change.
                    |
                   |
                           |Notes:
                   |Note: To configure          |1. To configure the
                   |the name displayed in the   |name displayed in the label
                   |label maker, add a name     |maker font list, add a name
                   |element in your             |element in koha-conf.xml to
                   |koha-conf.xml in the <ttf>  |the font in the <ttf>
                   |section (for example:       |section (for example:
                   |name="Times New Roman"). To |name="Times New Roman").
                   |add a new font, add an      |2.
                   |entry in the <ttf> section  |To add a new font, add an
                   |(for example: <font         |entry in the <ttf> section
                   |type="A"                    |(for example: <font
                   |name="Arial">/usr/share/fon |type="A"
                   |ts/truetype/liberation/Libe |name="Arial">/usr/share/fon
                   |rationSans-Regular.ttf</fon |ts/truetype/liberation/Libe
                   |t>).                        |rationSans-Regular.ttf</fon
                   |                            |t>).

--- Comment #26 from David Nind <david at davidnind.com> ---
(In reply to David Cook from comment #25)

> Does that make sense?

Thanks David, it does!

Have a good break over January.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list