Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - What would be the basics to creating a PHP-based image font? | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 293/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 04-06-04 03:15 PM Link | Quote
I don't really know where to start.

I just want basic information, to build up on my own from there.
setrodox

Ninji
Level: 26

Posts: 228/238
EXP: 89717
For next: 12558

Since: 03-15-04
From: good old austria

Since last post: 178 days
Last activity: 61 days
Posted on 04-06-04 03:21 PM Link | Quote
search about freetype. i think that's a lib you need for that(or makes it a lot easier at least).
Xkeeper
The required libraries have not been defined.
Level: NAN

Posts: -4776/-863
EXP: NAN
For next: 0

Since: 03-15-04

Since last post: 2 hours
Last activity: -753366 sec.
Posted on 04-06-04 03:56 PM Link | Quote
Considering I tore NUMGFX apart and crated the font-making script you see in parts ofmy layout [tagbored link, time, posts, and the pulse rank below], you just need a certain thing. GDIMAGELIBRARY or something.

Then you make your font.

Just get a copy of the board and rip up Numgfx for a starter. ;P That's what I did.
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 297/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 04-07-04 12:42 AM Link | Quote
I don't see anywhere about how FreeType can be used in PHP (although it's cool nonetheless ).

I already have a copy of the board. I didn't realise that it already had a PHP-based font! Thanks.
Darth Coby

Vire
Dacht je nou echt dat het over was?
Dacht je nou echt dat ik gebroken was? Nee toch?
Nou kijk eens goed op uit je ogen gast.
zonder clic heb je geen kloten tjap... bitch
Level: 55

Posts: 449/1371
EXP: 1240774
For next: 73415

Since: 03-15-04
From: Belgium

Since last post: 2 days
Last activity: 9 hours
Posted on 04-10-04 02:59 AM Link | Quote
You use imagecopy() to take parts from a file containing all the characters. www.php.net has a lot of information on how to use the image_GD librabry etc.
Acmlm

Torosu
heh
Level: 51

Posts: 527/1173
EXP: 981994
For next: 31944

Since: 03-15-04
From: Somewhere that isn't outside of Sherbrooke, Québec, Canada

Since last post: 39 days
Last activity: 3 hours
Posted on 04-10-04 03:15 AM Link | Quote
I used to have FreeType on my local server, it's nice (allows to output text with TrueType fonts in GD images) ... but just plain GD will work too

All you need is a font image file like this:

(that's what status.php uses)

And then a PHP script that takes a text parameter, and outputs the appropriate section of the font image for each character ... supporting variable width and line breaks can be more work, but that's pretty much how it goes

Of course, it's all done using GD functions, which are all listed and explained at php.net ...
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - What would be the basics to creating a PHP-based image font? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.006 seconds.