Text Not Displaying Correctly With PHP:GD


Posted on 16th Feb 2014 01:33 pm by admin

I recently moved servers and since then I have noticed that one line of text is showing weirdly.

I have attached an example image that was generated. In the word 'Managing' the letters M & N are being distorted.

The bit of code that creates that line of text is...

$silk = 'fonts/slkscr.ttf';
$grey = imagecolorallocate($im, 49, 51, 61);
imagefttext($im, 6, 0, 73, 25, $grey, $silk, 'Managing');

No comments posted yet

Your Answer:

Login to answer
187 Like 34 Dislike
Previous forums Next forums
Other forums

losing variables between php brackets
Hi

have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys

Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems.
Code: <?php
includ

Sending UDP Raw socket
I truly need help on this. I am trying to write a test program that simulate a network environment

keeps going back to index.html ???????
ok so i started making my site using mostly.html files now i have added a fair chunk of php. My inde

Hot Sale St.Kilda Vaxade Barbour Män Jacka Outlet 7142 [Barbour202] - SEK 2,367 : Barbour jacka , barbourjackets.top
[b][url=http://www.barbourjackets.top/sv/]barbour jackor utlopp[/url][/b] [b][url=http://www.barbour

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS