2022-01-06, 15:40
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:
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.
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
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.