diff options
author | Wessel Dankers <wsl@fruit.je> | 2020-08-13 14:45:15 +0200 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-08-13 15:02:50 +0200 |
commit | 1dac1112685348698af222c982a1655b45eb590b (patch) | |
tree | 88a055f0973e0b6b6e1e0cbf024e3f6b949631e5 /sub | |
parent | 57a0b897a27da13a85c013f5b1b49fb75427fe60 (diff) | |
download | mpv-1dac1112685348698af222c982a1655b45eb590b.tar.bz2 mpv-1dac1112685348698af222c982a1655b45eb590b.tar.xz |
sub: add application/font-sfnt to the list of font mime types
According to both file(1) and
https://www.iana.org/assignments/media-types/application/font-sfnt
application/font-sfnt is also a valid mime type for (at least some) .ttf
files.
Diffstat (limited to 'sub')
-rw-r--r-- | sub/sd_ass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c index b01e2bdc98..c283d769cd 100644 --- a/sub/sd_ass.c +++ b/sub/sd_ass.c @@ -100,6 +100,7 @@ static const char *const font_mimetypes[] = { "application/vnd.ms-opentype", "application/x-font-ttf", "application/x-font", // probably incorrect + "application/font-sfnt", "font/collection", "font/otf", "font/sfnt", |