Bug 35642: Upgrade Font Face Observer library from v2.0.3 to v2.3.0
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Dec 2023 15:15:20 +0000 (15:15 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 09:35:27 +0000 (10:35 +0100)
commit9cb286e36d4f3dffe0a0b965487573f829a7ddfe
tree90762524b950a0242e81743dc316919d4db2d26a
parent336e85c6ac237f8aed1fc22d59f2bedf5084b334
Bug 35642: Upgrade Font Face Observer library from v2.0.3 to v2.3.0

This patch upgrades the Font Face Observer library from v2.0.3 to the
latest release, v2.3.0. The file is moved to its own directory for
consistency's sake.

To test, apply the patch and clear your browser cache.

- Load any page in the OPAC.
- The custom font we supply for the OPAC (Noto Sans) should load
  correctly.
- If you want to see more about the functionality of the library, use
  your browser's developer tools to simulate a slow connection.
  - The page should load with a default sans-serif font first, and then
    the downloaded font will be applied.
  Note: If you throttle your connection speed *too* much, the loading of
  the custom font will time out and you'll only see the default
  sans-serif font.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt
koha-tmpl/opac-tmpl/lib/fontfaceobserver.min.js [deleted file]
koha-tmpl/opac-tmpl/lib/fontfaceobserver/fontfaceobserver.min.js [new file with mode: 0644]