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

Data Function is Its Not working IN IE8
This is my first time to use formums. I hope i can get solution for this problem. view plaincopy to

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

Two warning messages
Quote<b>Warning</b>: mysql_real_escape_string() expects parameter 1 to

SMTP server...
I recently found a tutorial online on SMTP authentification for sending emails from webpages, here i

how make 2 column in table with data tybe long row
hi every one

I want make in my table 2 column with data tybe long raw

how thi

Working with Dates, help.
Sooo to make a long story short, here's what im trying to accomplish.

I need to create a drop

PHP code for a proxy
I was wondering which function I could use to create an online proxy tool. I was thinking cURL would

noob question
i traying to do a php form with auto replay for both(me and the user who send me a mail),

a u

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

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