From e910308f24f6220a6724a7a822a7c5da000c46d2 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Fri, 1 Oct 2021 15:58:02 +0200 Subject: [PATCH] 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 --- packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf | 5 ----- packages/x11/other/fontconfig/package.mk | 3 --- 2 files changed, 8 deletions(-) delete mode 100644 packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf diff --git a/packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf b/packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf deleted file mode 100644 index 55d376239f..0000000000 --- a/packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf +++ /dev/null @@ -1,5 +0,0 @@ - - - - /storage/.kodi/media/Fonts - diff --git a/packages/x11/other/fontconfig/package.mk b/packages/x11/other/fontconfig/package.mk index c9824dbc1b..655f98b0d5 100644 --- a/packages/x11/other/fontconfig/package.mk +++ b/packages/x11/other/fontconfig/package.mk @@ -28,7 +28,4 @@ pre_configure_target() { post_makeinstall_target() { rm -rf ${INSTALL}/usr/bin - - mkdir -p ${INSTALL}/etc/fonts/conf.d - cp ${PKG_DIR}/conf.d/*.conf ${INSTALL}/etc/fonts/conf.d }