[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 00:54:47 CET 2024


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

David Nind <david at davidnind.com> changed:

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

--- Comment #24 from David Nind <david at davidnind.com> ---
Testing notes (using KTD):

1. The patches still apply.

2. Everything works as per the test plan.

I was not sure about some of the later comments, so please feel free to change
the status if any of these need addressing in this bug.

I changed the assignee to David Cook, feel free to change it if that is no
longer the case.

I've had a go at the release notes - not sure that I've have got this right.
Feel free to edit it!

Just to confirm that I understand this change correctly. Before this patch, you
couldn't configure how the font names were displayed (they were hard coded),
but you could still add new fonts? This change now lets you configure how the
fonts are displayed in the lists, and you can still add new fonts.

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


More information about the Koha-bugs mailing list