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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

Check something, wait, check again, do something!
Hi guys.

I wonder if someone can help me with this.

Basically, what I want to do is (

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

Grids not displaying decimals, and behaving differently on different PCs?
Hello,

I coded a relatively simple MII application that allows data from a form to be add

pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am hav

Including calander to page - will not show other months than current??
im trying to add an existaing calander onto a profile page by using Code: <?php include "

Adding meta tags under Zend FW
Hello there, recently has come to my hands the FTP of a website which is running under Zend, I would

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

Show specific day of the week
I have been racking my brain trying to get this function to work properly and it is doing so for eve

SAP Business Suite
Hi all:

Within the SAP Business Suite solution I would like to ask you the main differenc

problem with script manager
Hi iam using Net.2005.I have created ajax enabledwebsite.i have master page in which i have script m

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