Kodi Community Forum

Full Version: Kodi 19.3 doesn't load embedded ttf font of ass subtitle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a .mkv movie with embedded ass subtitle and corresponding embedded ttf fonts. However, the subtitle doesn't appear at all when playing in Kodi 19.3 even though the switch is on. In contrast, PotPlayer can properly render the subtitle texts and custom fonts so the mkv file itself should be okay.

After debugging I found that the ttf are properly extracted to Kodi\media\Fonts under appdata, but I saw the following from kodi.log:
Code:
2022-01-06 00:09:42.914 T:13072   DEBUG <general>: CDVDSubtitlesLibass: [ass] fontselect: (FWCJ1KAY, 400, 0) -> C:\USERS\DIANL\APPDATA\ROAMING\KODI\MEDIA\FONTS\TMP.FONT.方正兰亭圆_GBK_中.FWCJ1KAY.TTF, 0, FWCJ1KAY
2022-01-06 00:09:42.915 T:13072   DEBUG <general>: CDVDSubtitlesLibass: [ass] Error opening font: 'C:\USERS\DIANL\APPDATA\ROAMING\KODI\MEDIA\FONTS\TMP.FONT.方正兰亭圆_GBK_中.FWCJ1KAY.TTF', 0
I'm pretty sure the ttf file exists, but libass failed to open it without giving any detailed reason.

The mkv metadata info printed in kodi.log is here https://paste.kodi.tv/culizalecu.kodi

The ttf fonts (copied from Kodi\media\Fonts when playing the mkv) and ass subtitle (extracted by mkvextract) are uploaded here.
(2022-01-06, 15:40)MoetaYuko Wrote: [ -> ]The mkv metadata info printed in kodi.log is here

Please always provide the full & uncut log file so we have all of Kodi's puzzle pieces. Thx.
(2022-01-06, 16:05)Klojum Wrote: [ -> ]Please always provide the full & uncut log file so we have all of Kodi's puzzle pieces. Thx.
 
Here it is, some sensitive strings are masked: https://paste.kodi.tv/iqasasotob.kodi