PHP Developers Network

How They Structure Different Style Text Generators ?
Page 1 of 1

Author:  UniqueIdeaMan [ Mon Jan 01, 2018 2:45 pm ]
Post subject:  How They Structure Different Style Text Generators ?

Happy New Year!


Look at this site:

They have text fonts or something. You type your words/phrase and your chosen letter style (their fonts) writes your words or phrase.
How did the site manage to do that ?
For example, look at the Ice Cube style:

Now, type any phrase and their site types your phrase using that style. How'd they program that ?
I want to build a site like that. This is how I'm gonna built it ....

With a font, let's say Ice Cube Style, I'm going to write each letter and save it. Like so:


and so on right down to:


Then, I'm going to give you a text box (in a web form).
You will type your word such as: Get Lost.
And, my script will call the required jpeg files and combine them to form your word. Like so:

g.peg,e.jpeg,t.gpeg and so on. You get the picture. Gonna put each appropriate img files side by side that will make up your chosen word.


$a = localhost\a.jpeg
$b = localhost\b.jpeg

$word = $a = localhost\a.jpeg.$b = localhost\b.jpeg;

echo "$word";

Ok, I'm going to do something like that but not quite like that. You do understand what I'm trying to do and how I'm trying to organize things or put the script up. Is this how they usually do it ?

Ok, I've shown you a code sample, even though it ain't that good. Now, how-about a sample from your end ?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group