mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
fontconfig: add kodi font folder to a list
fixes SSA/ASS subtitles (*.ass) with custom fonts https://forum.libreelec.tv/thread/10874-custom-fonts-for-subtitles-issue/?postID=72234
This commit is contained in:
parent
8fcf7b5cb2
commit
00ece3b023
5
packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf
Normal file
5
packages/x11/other/fontconfig/conf.d/05-kodi-fonts.conf
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<dir>/storage/.kodi/media/Fonts</dir>
|
||||
</fontconfig>
|
@ -48,4 +48,7 @@ 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user