Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2004, 05:40 AM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Gd Library And Tm char..

After many tryes, it seemes that it's impossible to print tm symbol using gd library...


Example of code:
Code:
<?
header ("Content-type: image/png"); 
$img = ImageCreate(500,500);

$back = ImageColorAllocate($img, 0,0,0);
$w = ImageColorAllocate($img, 255, 255, 255);
$string = "#153;™™½¾d€™™Ôä";
//$string = "Testing... ?™?";

imagettftext($img, 25, 0, 20, 40, $w, "arial.TTF", $string);
ImagePNG($img);
ImageDestroy($img);

?>
Does anybody know how to solve this problem???





Similar Threads
Thread Thread Starter Forum Replies Last Post
Big challenge here! How to convert char* to char^? samiswt Visual C++ 2005 1 November 30th, 2007 09:09 PM
Invalid conversion from 'char*' to 'char' deuxmio C++ Programming 3 December 8th, 2006 07:56 AM
thumbnails without gd library? cutesneakers PHP How-To 1 January 14th, 2005 05:34 AM
Image quality in GD Library ss2003 Beginning PHP 1 February 14th, 2004 06:08 PM
GD Library hosefo81 Beginning PHP 2 October 22nd, 2003 08:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.