aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-19 12:35:35 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-19 22:12:56 +0100
commita4159378be87d4bc66cba9b122490a0fe4da03a6 (patch)
tree53bd1a42d21598afdc40b4e80b612e869684307b /lib
parent535816a6d47696095e7323b719729662a799db1c (diff)
downloadnextcloud-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.php2
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);