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

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

Random date selection
i want to select random date with time(hour+minutes+sec) where date is specified(10/22/2009) and tim

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

Javascript or not?
How many people prefer javascript/ajax sites? How many prefer the good old fashion straight php sit

UDP Multicast question
Hey,

Im not really in the know when it comes to network related programming and activitie

How to make URL loads only on login
On my page, when a user login he's redirects to user_home.php. I made it also to open the chat scree

Recode Abap Dynpro into Web Dynpro
Hi All,
A client has asked us to look at rearchitecting a custom transaction that was developed

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

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