Skip to content

Certain fonts for subtitles won't load in MKV

Pre-bugreport disclaimer: This bug is not present in 3.0.0, nor has it ever been present there from what I can see, but it showed up in 2.2.5 for OS X and is still present in the current stable release.

All versions tested on clean installs (also tested on multiple computers)

Nightly build: Tested, issue not present in any tested.

New features, Closed bugs, and Forums: Searched, nothing found along these lines.


Bugreport:

Info

Sometimes soft subtitles packaged in an MKV-file don't show. Only happens in OS X. My testing showed that only fonts ending with .dfont show up unless the used fonts are added as attachments within the .mkv-file. The fonts that didn't show by default had .tff and .otf extensions.

I don't know if this is local for me, or the files I tested with, but since I could reproduce it on a separate Mac with a different OS version on a fresh install of VLC I suspect that it isn't just me.

Here is a test file with different fonts used in the embedded subtitles: https://dl.dropbox.com/s/8plkodd7fvv5q9c/font.bug.VLC.-.test.-.attatched.fonts.mkv

Here is the same test file but with the fonts attached: https://dl.dropbox.com/s/8plkodd7fvv5q9c/font.bug.VLC.-.test.-.attatched.fonts.mkv

Expected occurrence

That the subtitles always show.

As seen in 3.0.0-20170923: https://dl.dropbox.com/s/ls1akxel0y16twt/3.0.0-20170923.mp4

Actual occurrence

That subtitles with certain fonts (.odt and .ttf) don't show.

As seen in 2.2.6: https://dl.dropbox.com/s/oz1w9pknqsek5we/2.2.6.mp4

Impact on user

Can't view subtitles if the font is "wrong".

Repro success-rate

In 2.2.5.2 and 2.2.6: 100% In 2.2.4 and 3.0.0: 0%

Versions tested:

  • 2.2.6 Umbrella (Intel 64bit) - OS X, Windows 7
  • 2.2.5.1 Umbrella (Intel 64bit) - OS X
  • 2.2.4 Weatherwax (Intel 64bit) - OS X
  • 3.0.0 Vetinari (20170923-0455) (Intel 64bit) - OS X

Computers used/tested

  • MacBook Pro (Early 2015): 2,7 GHz Intel Core i5, 8 GB 1867 MHz DDR3 (OS X 10.12.6) - Bug present.
  • MacBook (Early 2008): 2.4 GHz Intel Core 2 Duo, 4 GB 667 MHz DDR2 (OS X 10.7.5) - Bug present.
  • HP EliteBook 8460p: 2.5 GHz Intel Core 2 Duo, 4 GB RAM (Windows 7 SP1) - Bug not present.
Edited by Jean-Baptiste Kempf
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information