2021-09-02, 09:11
Hi all,
I notice for Kodi v19.1, it will loads ALL fonts in media/Fonts when starting a video with ass subtitle, including ones that are not used by this video. It becomes an issue when the total size of fonts is getting big. This usually happens on Chinese character fonts, which usually have size from 5MB all the way to 10MB, some over 30MB. Even worse, each video might use different fonts and the total size of the font collection grows easily over hundred of MB.
Interestingly, I didn't see this behavior on Kodi v19.0 (LibreElec v10b2) or earlier. Looks like v19.1 changes the way of loading fonts for a video with ass subtitle.
I am running a Raspberry Pi 4B with 1GB memory. The software is LibreElec v10(w/ Kodi v19.1). This behavior easily exhausts the memory and crash the system. In addition to that, even I reduce the number of fonts, the loading time for a video with ass subtitle is much larger than before. Loading only required fonts is making more sense, IMO. It has less memory footprint and also a lot less loading time.
Is it possible to change the behavior back to load only required fonts for that particular video?
I notice for Kodi v19.1, it will loads ALL fonts in media/Fonts when starting a video with ass subtitle, including ones that are not used by this video. It becomes an issue when the total size of fonts is getting big. This usually happens on Chinese character fonts, which usually have size from 5MB all the way to 10MB, some over 30MB. Even worse, each video might use different fonts and the total size of the font collection grows easily over hundred of MB.
Interestingly, I didn't see this behavior on Kodi v19.0 (LibreElec v10b2) or earlier. Looks like v19.1 changes the way of loading fonts for a video with ass subtitle.
I am running a Raspberry Pi 4B with 1GB memory. The software is LibreElec v10(w/ Kodi v19.1). This behavior easily exhausts the memory and crash the system. In addition to that, even I reduce the number of fonts, the loading time for a video with ass subtitle is much larger than before. Loading only required fonts is making more sense, IMO. It has less memory footprint and also a lot less loading time.
Is it possible to change the behavior back to load only required fonts for that particular video?