Browse Source
Use correct typeface for txt previews
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
pull/11932/head
Jan-Christoph Borchardt
7 years ago
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with
1 additions and
1 deletions
-
lib/private/Preview/TXT.php
|
|
|
@ -69,7 +69,7 @@ class TXT extends Provider { |
|
|
|
|
|
|
|
$fontFile = __DIR__; |
|
|
|
$fontFile .= '/../../../core'; |
|
|
|
$fontFile .= '/fonts/OpenSans-Regular.ttf'; |
|
|
|
$fontFile .= '/fonts/Nunito-Regular.ttf'; |
|
|
|
|
|
|
|
$canUseTTF = function_exists('imagettftext'); |
|
|
|
|
|
|
|
|