diff --git a/theme/font.php b/theme/font.php index dbea587de5d..87f27f1b88e 100644 --- a/theme/font.php +++ b/theme/font.php @@ -74,6 +74,9 @@ if (preg_match('/^[a-z0-9_-]+\.woff$/i', $font, $matches)) { // IE8 must die!!! $font = $matches[0]; $mimetype = 'application/vnd.ms-fontobject'; +} else if (preg_match('/^[a-z0-9_-]+\.svg$/i', $font, $matches)) { + $font = $matches[0]; + $mimetype = 'image/svg+xml'; } else { font_not_found();