Dontassrape.us BBS

Semi-free discussion in this non-free world.

You are not logged in.

#1 30-10-2008 02:01:27

RHF
Radial Head Fracture
From: London, United Kingdom
Registered: 17-03-2008
Posts: 831
Website

PHP TrueType Font Generation using GD Library

I got the listed example from php.net working on the Ubuntu sandbox server, the source file is available, as well as the original link, the code is here: http://gammasite.dontassrape.us:81/sand … fonts-php/

A couple of things to get the above working on ubuntu server... Make sure you:


Code:

sudo apt-get update

Then

Code:

sudo apt-get install php5-gd

Then

Code:

/etc/init.d/apache2 restart

Then

Code:

php -m |grep gd

(if it shows up gd without any errors, this is good!)

Then finally it should work and you should be able to play.


He put his disease in me

Offline

 

#2 09-11-2008 22:42:37

Maelacuna
Fat Tony
From: UK
Registered: 17-03-2008
Posts: 186
Website

Re: PHP TrueType Font Generation using GD Library

Done much with it?

Offline

 

#3 20-12-2008 16:46:37

RHF
Radial Head Fracture
From: London, United Kingdom
Registered: 17-03-2008
Posts: 831
Website

Re: PHP TrueType Font Generation using GD Library

Sorry, just tried this on a new box Ubuntu Server 8.04... You need to have php5-cli installed in order to do the above grep command.

Code:

sudo apt-get install php5-cli

also, to restart apache, you need to sudo it

Code:

sudo /etc/init.d/apache2 restart

He put his disease in me

Offline

 

#4 03-02-2009 07:40:23

RHF
Radial Head Fracture
From: London, United Kingdom
Registered: 17-03-2008
Posts: 831
Website

Re: PHP TrueType Font Generation using GD Library

Maelacuna wrote:

Done much with it?

http://gammasite.dontassrape.us:81/hosted/skiprat/imagegen.php?text=Indeed
http://gammasite.dontassrape.us:81/hosted/skiprat/imagegen.php?text=I
http://gammasite.dontassrape.us:81/hosted/skiprat/imagegen.php?text=Have


He put his disease in me

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB