FAQ  •  Register  •  Login

srt subtitle font

<<

thingy

Streaming enthusiast

Posts: 26

Joined: Sun Jul 24, 2011 9:32 am

Post Wed Mar 29, 2017 12:53 pm

srt subtitle font

I have a problem with srt fonts on renderers that does not support srt so serviio reencodes the file.
The subtitles are displayed but the font is terrible (ie unreadable).

Is there a way to config Serviio to force ffmpeg to use for example Arial font?

The same font appears both on Panasonic tv and Kodi on windows. So don't say it's the renderer's font.
Attachments
screenshot000.jpg
screenshot000.jpg (121 KiB) Viewed 3711 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Mar 29, 2017 6:57 pm

Re: srt subtitle font

is it embedded ASS subtitle? that might include / specify a font I think.
<<

thingy

Streaming enthusiast

Posts: 26

Joined: Sun Jul 24, 2011 9:32 am

Post Fri Mar 31, 2017 11:47 am

Re: srt subtitle font

No.
It's a mp4 file and it has an internal tx3g subtitle and an external .srt-file. And according to documentation Serviio should opt for external subtitle files. Which it seems to do.

It's the external .srt file that is displayed badly.
Since if I remove that,
then, at least, Kodi displays the muxed subtitle file with a readable font.

no .ass files for that media.
<<

thingy

Streaming enthusiast

Posts: 26

Joined: Sun Jul 24, 2011 9:32 am

Post Sun Oct 22, 2017 9:54 am

Re: srt subtitle font

I finally found the culprit, it was a font file on my windows system.

The Windows Unicode BMP (UCS-2) naming is correct.
But for the "Macintosh Roman" and "Unicode 2.0 and onwards, BMP" naming it's name is Arial, Regular, Postscript name: ArialMT.
So in the windows font folder (serviio runs on Windows 2008 Server), It was named : Ονειροπαρμένη82. Which made it difficult to find.

So this is not a Serviio error per see, but a problem in how the api, Serviio uses to, look up fonts by name.
I'm not sure if there is a way to specify that font names should check the Windows Unicode BMP name on windows, and perhabs the other namings on macintosh and linux resp.
Since windows won't display the Macintosh and Unicode 2.0 names in the font folder, but obviously it's what Java? uses to find fonts.

Should have attached the font file, but ttf isn't allowed.
You can download it here:
http://www.starenterprise.se/font/ANA-O ... MENI82.TTF
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 23, 2017 8:24 am

Re: srt subtitle font

There is a fonts folder under Serviio's config folder. It's where the fonts are configured. It contains a set of rules (in conf.d folder) which are trying to find the matching font in sequence.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 32 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.