diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-19 12:35:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-19 22:12:56 +0100 |
commit | a4159378be87d4bc66cba9b122490a0fe4da03a6 (patch) | |
tree | 53bd1a42d21598afdc40b4e80b612e869684307b /lib | |
parent | 535816a6d47696095e7323b719729662a799db1c (diff) | |
download | nextcloud-server-a4159378be87d4bc66cba9b122490a0fe4da03a6.tar.gz nextcloud-server-a4159378be87d4bc66cba9b122490a0fe4da03a6.zip |
Avatar generation use ttf (for ancient compatibility)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Avatar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php index cd29017333c..45ad66d0817 100644 --- a/lib/private/Avatar.php +++ b/lib/private/Avatar.php @@ -254,7 +254,7 @@ class Avatar implements IAvatar { $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); |