Jump to content

How They Structure Different Style Text Generators ?


saversites

Recommended Posts

Happy New Year!

Guys,

Look at this site:
https://cooltext.com/Logos-Ice

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:
https://cooltext.com/Logo-Design-Ice-Cube

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:

a.jpeg
b.jpeg

and so on right down to:

y.jpeg
z.jpeg

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.

Eg.

$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 ?

Edited by saversites
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...