game
photo
retro
rant
Not logged in. · Lost password · Register

All content © NFGworld, unless otherwise noted, except for stuff we stole. Contact the editor-in-chief : baldbutsuave@thissitesdomain, especially if you are an attractive young female willing to do nude photography modelling. All rights reversed. 631

Author name (Administrator) #1
Avatar
Member since May 2011 · 2457 posts · Location: Brisbane
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: Arcade Font Engine - Code Release
You may have seen my Arcade Font Engine and wanted to have such useless toys for your own magnificent site, but couldn't bring yourself to ask for the code.

Well, languish no longer!  I'm hereby releasing the engine code for all interested parties, free of charge, free of encumberance.  It's a single PHP script that requires only a font file to be used in any nefarious way you desire.

Note that this is the image making component, not the frivolous front-end linked above.  This means you have the guts of the machine, suitable for all kinds of purposes.  Basically, you can replace any text with an image made from arcade fonts and put it anywhere on your own sites.

First, you may want to view the code on pastebin.com, where you can see how marvelous my coding abilities are.  Please forgive me if any part of it sucks, for I am not a programmer and this was my very first ground-up PHP creation.  I'm very proud of it, but I am certain it's an inelegant, execrable desecration in the eyes of people with real coding talent.

It's heavily commented and shouldn't be hard for anyone to work into their own site.

If you like what you see, you can download the script and all fonts

The font engine script is released under a Creative Commons Zero license.  Note that the fonts included probably belong to the companies that made them, and I hope they don't mind.

You may also be interested in:
BLEARGH
This post was edited 2 times, last on 2009-03-15, 21:46 by NFG.
Author name (Guest) #2
No profile available.
Link to this post
It's a great job!

Congratulations!
Author name (Administrator) #3
Avatar
Member since May 2011 · 2457 posts · Location: Brisbane
Group memberships: Administrators, Members
Show profile · Link to this post
New version has been uploaded (v1.2).

This version adds the ability to select RANDOM fonts ( /y-r/ ) and variations ( /z-r/ ).  There were some other internal changes to support this, but no functional changes.  Of course, unintended changes aren't bugs, they're features!

BLEARGH
Author name (Administrator) #4
Avatar
Member since May 2011 · 2457 posts · Location: Brisbane
Group memberships: Administrators, Members
Show profile · Link to this post
New version online (v1.3).

New in this version is a secondary font folder for large fonts, so that non-8x8 fonts can be used without breaking the fontmaker.  Also, this version now has default colour, font and phrase selection, to avoid screens full of errors when they're omitted from the URL.

BLEARGH
Author name (Administrator) #5
Avatar
Member since May 2011 · 2457 posts · Location: Brisbane
Group memberships: Administrators, Members
Show profile · Link to this post
A quick update: the archive now includes all the large fonts.  No changes have been made to the script.

BLEARGH
Close Smaller – Larger + Reply to this post:
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
We love UNB by Yves Goergen!