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

PHP5 - AJAX help
I've been following the tutorial on w2schools (http://www.w3schools.com/php/php_ajax_database.asp) a

Generate PDF
Hi guys,

I would like to know if there is a way to generate pdf when clicking on a link. In f

Mastering Regular Expressions, Third Edition, is available.
The Third Edition of Mastering Regular Expressions is available.

QuoteThis third edition is 5

PHP Include not working
The website is http://www.grlistingservices.com

The code block is as follows:

<

How do I send data using an html link
Hi

If I have
<a href="main_file.php">

How do I send data t

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

Not Loading Function Into Div
I'm not sure whether to put this under the php forum or ajax forum but because I tink it's more of a

Any help with my email script?
I have an email script, I have not tested it, although someone tested it for me and said it worked f

Need help making login verification cleaner...
I use the below to verify user login. I first check the cookie for the id, ip and a unique id. If it

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