Subject: rotate text inm45 degrees.
Posted By: surendran Post Date: 1/25/2007 3:00:53 AM
Hi Freinds,

I'm trying to rotate text in a cell 45 degrees.



surendran
(Anything is Possible)
http://ssuren.spaces.msn.com
Reply By: surendran Reply Date: 1/25/2007 4:55:50 AM
Hi friends,
I found a solution in php, if you want try, but you have to copy the font same folder.

    $image = imagecreate(70,30);
    $blue = imagecolorallocate($image, 141, 191, 6);
    $white = ImageColorAllocate($image, 147,13,124);
    if(!isset($_GET['size'])) $_GET['size'] = 10;
    if(!isset($_GET['text'])) $_GET['text'] = "Suren";
    imagettftext($image, $_GET['size'], 15, 10, 27, $white, "arial.ttf", $_GET['text']);
    header("content-type: image/png");
    imagepng($image);
    imagedestroy($image);


surendran
(Anything is Possible)
http://ssuren.spaces.msn.com

Go to topic 55356

Return to index page 88
Return to index page 87
Return to index page 86
Return to index page 85
Return to index page 84
Return to index page 83
Return to index page 82
Return to index page 81
Return to index page 80
Return to index page 79