// You can also use another UTF-8 font and put it in config.php with the name in $UTF8_fontfile
$this->fontfile = $this->encoding == 'UTF-8' ? (isset($SysPrefs->UTF8_fontfile) && $SysPrefs->UTF8_fontfile != "" ?
$path.$SysPrefs->UTF8_fontfile : $path.'FreeSans.ttf') : $path.'LiberationSans-Regular.ttf';
// You can also use another UTF-8 font and put it in config.php with the name in $UTF8_fontfile
$this->fontfile = $this->encoding == 'UTF-8' ? (isset($SysPrefs->UTF8_fontfile) && $SysPrefs->UTF8_fontfile != "" ?
$path.$SysPrefs->UTF8_fontfile : $path.'FreeSans.ttf') : $path.'LiberationSans-Regular.ttf';
imagettftext($img, $size, $angle, $x, $y + $alt, $col, $this->fontfile, $string);
}
imagettftext($img, $size, $angle, $x, $y + $alt, $col, $this->fontfile, $string);
}