|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-28 12:49 UTC] pajoye@php.net
[2005-09-28 14:14 UTC] klaus at glashoff dot net
[2005-09-28 14:18 UTC] pajoye@php.net
[2005-09-29 11:40 UTC] pajoye@php.net
[2005-09-29 12:51 UTC] klaus at glashoff dot net
[2008-09-19 23:48 UTC] sbikas at yahoo dot com
[2015-07-17 00:08 UTC] cmb@php.net
-Status: Assigned
+Status: Feedback
[2015-07-17 00:08 UTC] cmb@php.net
[2015-07-26 04:22 UTC] php-bugs at lists dot php dot net
[2015-08-08 04:30 UTC] jay dot scv at gmail dot com
[2015-08-08 04:37 UTC] jay dot scv at gmail dot com
[2015-08-08 05:01 UTC] jay dot scv at gmail dot com
[2015-08-08 11:38 UTC] cmb@php.net
-Status: No Feedback
+Status: Open
[2015-08-08 11:38 UTC] cmb@php.net
[2015-08-08 20:53 UTC] jay dot scv at gmail dot com
[2017-10-24 07:37 UTC] kalle@php.net
-Status: Assigned
+Status: Open
-Assigned To: pajoye
+Assigned To:
[2019-09-19 04:02 UTC] kalpit dot jain at wagmob dot com
[2021-05-03 11:28 UTC] cmb@php.net
-Summary: imageTTFText for Indian scripts (Devanagari)
+Summary: imagettftext() doesn't combine combining
chars
-PHP Version: 5.*, 6
+PHP Version: 7.4
[2021-05-03 11:28 UTC] cmb@php.net
[2021-09-09 11:56 UTC] cmb@php.net
-Status: Open
+Status: Suspended
[2021-09-09 11:56 UTC] cmb@php.net
[2025-01-04 11:58 UTC] cmb@php.net
-Status: Suspended
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2025-01-04 11:58 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
Description: ------------ The results of imagettftext() are - at least for Indian languages - not totally satisfying: Consonant conjuncts appear as two consonants with virama. In order to display "kta" in Devanagari, imagettftext, for example, when given the argument " k + virama + t" (क्त) should return the conjunct for "kt", but it does not. (Instead of the font Sanskrit2003.ttf, use any Unicode font containing U+0900 - U+097F; for example mangal.ttf). Reproduce code: --------------- <?php Header ("Content-type: image/png"); $string ="क्त"; $string=rawurldecode($string); $im = imagecreate (200, 25); $white = ImageColorAllocate ($im,224,224,224); $black = ImageColorAllocate ($im,50,100,100); ImageTTFText ($im, 12, 0, 5, 15, $black, "Sanskrit2003.ttf", $string); ImagePng ($im); ImageDestroy ($im); ?> Expected result: ---------------- The Devanagari conjunct glyph for "kt" should appear, not a separate "k" with virama sign ्.