Use correct typeface for txt previews

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-10-23 13:13:21 +02:00
parent ade50d3b71
commit 3259d427ee
No known key found for this signature in database
GPG key ID: CBD846FC845CBE17

View file

@ -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');