Rely on the new USE_SYSTEM_FONTS feature (Jellyfin Web).
Add the DISCARD_UNUSED_FONTS environment variable to control the execution of searchFonts.
_Ideally it should detect 10.8, but I don't know how. There was an idea to find a single script (main.bundle) in index.html (now there are several), but that is also unreliable.
Or we could backport USE_SYSTEM_FONTS to 10.8_
Changes
USE_SYSTEM_FONTS
feature (Jellyfin Web).DISCARD_UNUSED_FONTS
environment variable to control the execution ofsearchFonts
. _Ideally it should detect 10.8, but I don't know how. There was an idea to find a singlescript
(main.bundle
) inindex.html
(now there are several), but that is also unreliable. Or we could backportUSE_SYSTEM_FONTS
to 10.8_