#45176 [Opn->Fbk]: Create image from ttf file failed
| From: | pajoye@php.net | Date: | Wed, 04 Jun 2008 16:23:41 +0000 |
| Subject: | #45176 [Opn->Fbk]: Create image from ttf file failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125496@lists.php.net to get a copy of this message | ||
ID: 45176
Updated by: pajoye@php.net
Reported By: heyond at yahoo dot com dot cn
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: windows 2003
PHP Version: 5.2.6
-Assigned To:
+Assigned To: pajoye
New Comment:
"Warning: imagettftext() [function.imagettftext]: Unable to find a
CharMap that I can handle in D:\www\guomo.com\ttf.php on line 33"
Is a pretty clear error message.
Please provide a link to the font you are using a complete script to
reproduce your problem.
Previous Comments:
------------------------------------------------------------------------
[2008-06-04 14:24:08] heyond at yahoo dot com dot cn
Description:
------------
I try to create a font image from ttf file, but I encounted a error :
Warning: imagettftext() [function.imagettftext]: Unable to find a
CharMap that I can handle in D:\www\mvc\ttf2.php on line 49
only few ttf file like this, I guess the freetypes version too lower.
Reproduce code:
---------------
imagettftext($im, $fontsize, 0, $x, $y, $fgcolor, $fontfile, 'abc');
Expected result:
----------------
a binary image.
Actual result:
--------------
Warning: imagettftext() [function.imagettftext]: Unable to find a
CharMap that I can handle in D:\www\guomo.com\ttf.php on line 33
ÿ?JFIFÿ>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default
quality ÿC $.' ",#(7),01444'9=82<.342ÿC
2!!22222222222222222222222222222222222222222222222222ÿ(J"ÿ
ÿ?}!1AQa"q2?#B±ÁRÑð$3br?
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øù?
ÿ?w!1AQaq"2?B¡±Á
#3R?br?$4??&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿ
?õJ(¢¸Í????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ÿ
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45176&edit=1