Closed sbenmeddour closed 1 week ago
07:01:02.316 mdk-log I [level=4, message=[ass] Loading font file '/data/user/0/fr.dcs.mdk/files/fonts/NotoSansArabic-Regular.ttf'] 07:01:02.316 mdk-log I [level=4, message=[ass] Loading font file '/data/user/0/fr.dcs.mdk/files/fonts/Roboto-Regular.ttf']
it's libass log, font files are loaded
The libass.so in the sdk is a patched version, it does not support fontconfig. You can extract libass.so from kodi and try that one
Describe the bug Set global option with "subtitle.fonts.file" is working fine, but "subtitles.fonts.dir" isn't working Mdk seems to correctly find the files, but not libass
To Reproduce
mdk::SetGlobalOption("subtitles.fonts.dir", value);
I tried with java
File
path, asset path, no differenceExpected behavior Libass should try to use the provided dir, but it seems it searchs in /system/fonts dir
Environment:
Log
Crash use lldb, gdb, visual studio to show the call stack.