Kodi Community Forum
v20 Support for ASS format subtitles with bundled fonts? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v20 Support for ASS format subtitles with bundled fonts? (/showthread.php?tid=362344)



Support for ASS format subtitles with bundled fonts? - mrob - 2021-04-29

I tried playing a movie with some ASS-format subtitles that contained a bundled font (Avenir).

It plays as expected with VLC, but the subs don't appear when I try playing it with Kodi.

I tried removing the bundled subs from the ASS file, and just specified the default  Arial font. After that, it works fine.

Question: is there support for bundled fonts in Kodi... or...?

I'm using Kodi 20.0-ALPHA1 (19.90.101) Git:20210427-58df0ff1a5, on Ubuntu 18.04.5 LTS, kernel: Linux x86 64-bit version 4.15.0-142-generic. All packages updated.

Thanks!


RE: Support for ASS format subtitles with bundled fonts? - Klojum - 2021-04-29

This sounds more like a generic request to me, thus I moved it to the OS independent section.

You set the thread prefix to v19, but say you use v20... Oo
There should be a v20 prefix as well.

AFAIK, Kodi uses its own font(s). Bundled fonts are not (yet?) used.
Fonts can be added to Kodi.


RE: Support for ASS format subtitles with bundled fonts? - mrob - 2021-04-29

Thanks for your message. I fixed the v20 tag.

I'll investigate adding fonts, then.

Would be cool if there were support for bundled fonts.


Support for ASS format subtitles with bundled fonts? - enen92 - 2021-04-29

Should be supported, at least it is implemented in the code. can you share the sample file (the ass file with the bundled font) so we can investigate?


RE: Support for ASS format subtitles with bundled fonts? - mrob - 2021-04-29

(2021-04-29, 11:09)enen92 Wrote: Should be supported, at least it is implemented in the code. can you share the sample file (the ass file with the bundled font) so we can investigate?

Ahh, I didn't save the file. Let me re-create it with the bundled font, verify that it doesn't work, and then I'll up it. It may take a day.

Thanks!


RE: Support for ASS format subtitles with bundled fonts? - enen92 - 2021-04-30

It seems this might actually be a bug in libass fixed quite recently: https://github.com/libass/libass/commit/1140b6b885c89d37eef13dc1f31f144e9a76a4d7
https://github.com/libass/libass/issues/266

It seems it will only be fixed when libass 15.1 is released and kodi moves to a new version


RE: Support for ASS format subtitles with bundled fonts? - mrob - 2021-05-04

Ah, I see. Thanks for drawing my attention to this.

I tried dpkg -l | grep libass, and it looks like libass 1:0.14.0-1 is currently installed on my machine.

So, I guess I'll just wait.

Next version of Kodi means... v21, or... ?


Support for ASS format subtitles with bundled fonts? - enen92 - 2021-05-04

Actually libass 0.15.1 was released this weekend, a pr for bumping the version is already in the queue for v20: https://github.com/xbmc/xbmc/pull/19672

Since you're running Linux, Kodi uses system libass so as long as you update libass on the host you can use that without any change/update to Kodi.