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

The page should be expire when cilck back button
hi,
i'm new to php world.
i create user registration page.
when i submit it,data goes to my

Is this Safe or Unsafe?
Hi i made a few pages with lots of peoples help now i just want to know if they are safe or not can

Session is not saving
I am not trying to do anything too fancy, I am just trying to get some $_SESSION data to save and us

shoping cart issues
i´ve wrote this and works when i add an item to, my cart, but when i want to add othrer item just

Problem with Subscreen
Dear Experts ,
I am facing a problem with the subscreens. My senario is as follows :

Windows Authentication
I have a website which is windows authenticated.
now i want something more on this application.<

Calculating n! using vector
#include
#include
#include

using

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

Session problem?!?
Hello All! I am very new to the php world but I am working on fixing things that a previous programm

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