无法使用PHP正确渲染文本卡纳达语(印度语)到图像

时间:2018-04-30 06:48:11

标签: php unicode fonts imagemagick kannada

这是我的PHP代码

$text = 'ಕನ್ನಡ';
$txt_color1 = 'red';
imagettftext($handle, 30, 0, 25, 60, $txt_color1, 'fonts\akshar.ttf', $text);

结果: enter image description here

*我尝试过可用的字体(kannada)但是我的结果相同。

0 个答案:

没有答案