|
|
|
@ -427,9 +427,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
if (fontFile != null && fileSize != null && fileSize > 0)
|
|
|
|
|
{
|
|
|
|
|
_logger.LogDebug("Fallback font size is {FileSize} Bytes", fileSize);
|
|
|
|
|
|
|
|
|
|
FileStream stream = new FileStream(fontFile.FullName, FileMode.Open, FileAccess.Read);
|
|
|
|
|
return File(stream, MimeTypes.GetMimeType(fontFile.FullName));
|
|
|
|
|
return PhysicalFile(fontFile.FullName, MimeTypes.GetMimeType(fontFile.FullName));
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|