Font fixes in Vimu

122 views
Skip to first unread message

Gabe Farrell

unread,
Mar 3, 2025, 6:22:48 AMMar 3
to Vimu Media Player for TV Support Group
Hello! I really like Vimu, but there's two options that I can't seem to find that, as an anime watcher, I would really like added (if they don't exist).

The first is a default subtitle delay. I notice the subtitles are always about 100-200ms too fast on all files, and it would be great to be able to fix that with a default delay.

The second is less important, but I notice that on many of the anime I watch, the fonts for the .ASS subtitles cannot be found usually. I did some testing and determined it was because subtitles seem to be matched by the file name rather than the Font Name specified in the OTF/TTF file. 
For example, the font was incorrect for one file. Then, upon investigation, the .ass subtitles were referencing the font "Angie". So I found the .mkv attachment in the container, and the font attachment was Angie-Bold.otf. When I extracted the font, renamed it to "Angie.otf", and re-attached, Vimu was now using the correct font. 
So, in order to fix this bug, I believe the fonts need to be matched by the Font Name instead of the file name (or however they are currently being matched). This isn't really important, but in anime specifically I think the stylized fonts are part of the viewing experience.

Finally, I notice that the animations for .ass subtitles are quite choppy. Are there any plans for fixing this? It's not that important, but compared to a player like MPV (which has other issues... there's a reason I don't use it) the subtitle animations aren't very smooth.

Anyways, thank you for your work on Vimu. I really like it.

Gabe Farrell

unread,
Mar 3, 2025, 9:40:00 AMMar 3
to Vimu Media Player for TV Support Group
Hi again,
I was wrong about the font matching. It turns out, it has to do with the mime type of the attached fonts. Many of the anime I have use the mime type "font/ttf" or "font/otf" which Vimu does not find. When I change the mime type to "application/x-font-ttf" it works perfectly. So my suggestion is simply to support a few more mime types for font files. The common ones I found that were not supported by Vimu are "font/ttf", "font/otf", and "application/vnd.ms-opentype". Especially the first I've found are very, very common in the anime I get.

Alexander Kolychev

unread,
Mar 3, 2025, 10:58:40 AMMar 3
to gtv...@googlegroups.com
Please, provide some sample of file with incorrect fonts.
Thanks.

3 марта 2025 г., в 17:40, Gabe Farrell <ga...@mnrva.dev> написал(а):

Hi again,
--
You received this message because you are subscribed to the Google Groups "Vimu Media Player for TV Support Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtvbox+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gtvbox/2d5f35c2-08bc-4462-8f99-acecc2d2278an%40googlegroups.com.

Gabe Farrell

unread,
Mar 3, 2025, 5:08:16 PMMar 3
to Vimu Media Player for TV Support Group
https://drive.google.com/drive/folders/1SoBKYEIm805W7jTWlkWmge2TPaQgrFcU?usp=sharing

Both files are identical, except the mime type for Angie-Bold.otf (the main dialogue font) is set to "application/vnd.ms-opentype" in the file vnd.ms-opentype.mkv, "font/otf" in font_otf.mkv, and "application/x-truetype-font" in x-truetype-font.mkv. You will notice that the correct font is only applied when viewing x-truetype-font.mkv. You will also notice that other media players (VLC, MPV) will display the correct font on all three files.

Many of the anime I have use the "font/otf" or "font/ttf" mime type, and so many of them do not correctly display fonts with Vimu.

Thank you!

핑크무브

unread,
Mar 3, 2025, 7:59:58 PMMar 3
to gtv...@googlegroups.com
I am not a developer

2025년 3월 4일 (화) 오전 7:08, Gabe Farrell <ga...@mnrva.dev>님이 작성:
Reply all
Reply to author
Forward
0 new messages