Text Not Displaying Correctly With PHP:GD


Posted on 16th Feb 2014 01:33 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

Setting a default timezone?
I have read about how to change the timezone in PHPMYADMIN, but it changes back, it doesn't STAY the

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

=> and <=
So I was digging through some code when I came across the <= operator. This is the first tim

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS



Operation not allowed when innodb_forced_recovery > 0.