v20 Support for ASS format subtitles with bundled fonts?
#1
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!
Reply
#2
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.
Reply
#3
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.
Reply
#4
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?
Reply
#5
(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!
Reply
#6
It seems this might actually be a bug in libass fixed quite recently: https://github.com/libass/libass/commit/...4e9a76a4d7
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
Reply
#7
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... ?
Reply
#8
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Support for ASS format subtitles with bundled fonts?0