diff --git a/core/fonts/OpenSans-Light.ttf b/core/fonts/OpenSans-Light.ttf new file mode 100644 index 0000000000000..0d381897da203 Binary files /dev/null and b/core/fonts/OpenSans-Light.ttf differ diff --git a/core/fonts/OpenSans-Semibold.ttf b/core/fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000000000..1a7679e3949fb Binary files /dev/null and b/core/fonts/OpenSans-Semibold.ttf differ diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php index cd29017333cff..45ad66d0817e6 100644 --- a/lib/private/Avatar.php +++ b/lib/private/Avatar.php @@ -254,7 +254,7 @@ private function generateAvatar($userDisplayName, $size) { $white = imagecolorallocate($im, 255, 255, 255); imagefilledrectangle($im, 0, 0, $size, $size, $background); - $font = __DIR__ . '/../../core/fonts/OpenSans-Semibold.woff'; + $font = __DIR__ . '/../../core/fonts/OpenSans-Semibold.ttf'; $fontSize = $size * 0.4; $box = imagettfbbox($fontSize, 0, $font, $text);