summaryrefslogtreecommitdiffstats
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 12:35:35 +0100
commit0f57bce06c03b1e2d59c23ce6b9216ec5b84c5a5 (patch)
treee373bd88f7b26396b575fd112d08293e9f629fa1
parent6721774102ed4530c1b529d454ea0038c4eba615 (diff)
downloadnextcloud-server-0f57bce06c03b1e2d59c23ce6b9216ec5b84c5a5.tar.gz
nextcloud-server-0f57bce06c03b1e2d59c23ce6b9216ec5b84c5a5.zip
Avatar generation use ttf (for ancient compatibility)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-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 4cacc801689..352fcf05883 100644
--- a/lib/private/Avatar.php
+++ b/lib/private/Avatar.php
@@ -271,7 +271,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);