mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
fontconfig: remove kodi's font folder from fontconfig dirs
This is no longer needed as kodi Matrix/Nexus already make .kodi/media/Fonts available to libass. Large collections of fonts should better be stored in the default XDG_DATA_HOME fonts location of fontconfig (/storage/.local/share/fonts) though to avoid slow movie startup and kodi potentially running out of memory as kodi/libass will load all fonts from .kodi/media/Fonts into RAM. Making the fonts available to libass via fontconfig avoids this issue. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
5def4c63d4
commit
d87539789f
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<dir>/storage/.kodi/media/Fonts</dir>
|
|
||||||
</fontconfig>
|
|
@ -28,7 +28,4 @@ pre_configure_target() {
|
|||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf ${INSTALL}/usr/bin
|
rm -rf ${INSTALL}/usr/bin
|
||||||
|
|
||||||
mkdir -p ${INSTALL}/etc/fonts/conf.d
|
|
||||||
cp ${PKG_DIR}/conf.d/*.conf ${INSTALL}/etc/fonts/conf.d
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user