Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from rec.arts.ascii, started 13 Jul 1994.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Talk: Figlet

Talk: Figlet

rec.arts.ascii · 3 messages · 13 Jul 1994 - 11 Aug 1994
 I know this will sound lame :) But how do you make your own fonts
for figlet fonts on figlet... I tried editing a few fonts and it keeps
screwing up. I think the problem is in the first line the 

flfa$ 4 3 20 8 2

... if you can tell me what the numbers mean I think I ca work out the
rest. Figlet seems to be a big help to ascii art...

syn...@cyberspace.net

In article <300qaq$16...@gagme.wwa.com> syn...@cyberspace.net (Greg Hayes) writes:
>
> I know this will sound lame :) But how do you make your own fonts
>for figlet fonts on figlet... I tried editing a few fonts and it keeps
>screwing up. I think the problem is in the first line the 
>
>flfa$ 4 3 20 8 2
>
>... if you can tell me what the numbers mean I think I ca work out the
>rest. Figlet seems to be a big help to ascii art...

Thanx!

I wrote a section on font creation in the figlet man page: "FONT FILE
FORMAT". It evidently hasn't been too helpful for many people. :-(
You'll also find some comments on the meaning of the numbers at the
beginning of "standard.flf".

Anyway, first of all, a figlet font has to begin with "flf2", so the
line you gave won't work. It probably should be "flf2a$ 4 3 20 8 2".
The next character is reserved for future expansion, and should always
be "a", for now.

The next character is the "hardblank", usually "$". This acts like an
unsmush-able character, but prints as a blank; this is useful for
getting fonts to fit together the way you want; however, you can usually
not worry about hardblanks and get away with it. Just stick a "$" here,
and everything should be fine.

After the hardblank character comes a space, followed by 5
space-separated integers. These are

- the height of a character, in lines
- the height of a character excluding descenders, in lines
- the maximum length of a line in the font data. figlet uses this to
determine how much memory to allocate for the buffer it reads font lines
into. Making this number a bit too big is no problem. 100 will probably
work for most reasonable fonts.
- The default "smushmode" for the font. This should usually be -1, 0 or
15. Possible smushmodes range from -1 through 63, and a complet
description of them is in the figlet man page, but, again, -1, 0 or 15
is usually good enough. To find out which mode is best for your font,
try it with several, using the -m option. For example,
"figlet -f myfont -m 15" will use the font "myfont" with smushmode 15.
- The number of comment lines between the first line of the file and the
font data.

So, e.g., in the example you gave (if the "2" is added), the hardblank
is "$". The characters are 4 lines high, 3 of which are above the
baseline. No line in the font data is more than 20 characters long. The
default smushmode is 8, and there are 2 comment lines. Make sense?

				Glenn Chappell   <><
				e-mail: gg...@uiuc.edu


	Hello,

	I guess there is a program made to build sentences with this
	font. How is it called and where can I find it ?
	By the way, are there any others fonts like this ?

	cheers,

	Thierry
--
+=========================+===========================================+
| '''''  "It's not a BUG, |        Thi...@imag.fr           |
|( O^O )  it's a FEATURE!"|  DESS Genie Informatique - UJF Grenoble   |
| \ > / __/               |     labo TIMC-IMAG, projet OSIRIS         |
|   -                     |         tel : (+33) 76 54 95 29           | 
+=========================+===========================================+

About this thread. These messages were posted publicly to the newsgroup rec.arts.ascii in 1994 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post