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
parent
commit
3259d427ee
No known key found for this signature in database GPG Key ID: CBD846FC845CBE17
  1. 2
      lib/private/Preview/TXT.php

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

Loading…
Cancel
Save