Custom subtitle fonts
tilusnet opened this issue · comments
Hi.
I am impressed by this initiative. I have been looking for a direct Linux to Chromecast transcoding solution for some time, and this project is on the right track!
For a start, which component is responsible for subtitle font choice?
I'd be keen to be able to change the default.
Many thanks.
Thanks for the leads @keredson!
Just had a brief look now.
Heading off from https://developers.google.com/cast/docs/caf_receiver I discovered the TextTracksManager class which has a setTextTrackStyle()
method. Its underlying TextTrackStyle class has a fontFamily
property.
Wouldn't this be the right place to dig around for changing the displayed font?
i will happily take a PR for a CAF receiver implementation!
@keredson would you mind pointing me at the code files in gnomecast where such change would be integrated?
Ah forget it, it's probably somewhere in gnomecast.py
.