From 1dac1112685348698af222c982a1655b45eb590b Mon Sep 17 00:00:00 2001 From: Wessel Dankers Date: Thu, 13 Aug 2020 14:45:15 +0200 Subject: [PATCH] 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. --- sub/sd_ass.c | 1 + 1 file changed, 1 insertion(+) 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",