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

Update not working ... please help
Hi,

I am trying to update a row using an edit form by passing id of the row .. but it is not

remove innitial

and

tags
i am using tiny_mce as a text editor for my CMS.
buy now the problem is it add <p>

Product categories for registration
Dear all,

We are going live with the Supplier registered next week. At standard, the 'sel

Database/Table Collation
What is the Database, and table collations used for? i don't understand what there used for since co

Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this

Posting Serialized Data Not Working
I am trying to send an object from one PHP file to another using POST. I serialize the object and th

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

defining website tags
Hi,

What would be the best way to define tags for my site, such as website title, url etc.

Is STL important?
I'm just starting programming and I've made it until the Standart Template Library. But the chapter

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

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