Text Not Displaying Correctly With PHP:GD


Posted on 16th Feb 2014 07:03 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

passing data from one page to another
hey guys
i have the follwoing code to get information from one page and place on another:

BB_Code error
I'm having a problem with a custom built function and keep getting this error:


Warning: M

Are sessions secure at all?..
I haven't really gotten into yet, but I was just thinking of something weird..

Lets say you h

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

The control with ID 'ace' requires a ScriptManager on the page
I'm trying to add a simple AlwaysVisibleControlExtender to my page, but it's not working. I get the

firefox wouldnt stream mp3 files completely from my php page
hi everyone,
I have a php file trying to read and stream mp3 files. It works fine in IE but my pr

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Making multiple rows with one query
I have a table called efed_handler_characters with two fields handler_id and bio_id. What query 2 is

Thought I has this figured out especially after all the help i received?
Cags, Salathe, Daniel helped me with this yesterday, but not sure i took it all in.
I am attempti

how to get sn motherboard
Hello.
I want to get serial number motherboard, cpu and else hardware.
Can You show me sam

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



Play Free Quiz and Win Cash