Original Usenet thread from rec.arts.ascii, started 16 Oct 1994.
_ _ _ _ _ _ | | | |___ ___ _ __ ___| |_ / \ _ __ ___| |__ (_)_ _____ | | | / __|/ _ \ '_ \ / _ \ __| / _ \ | '__/ __| '_ \| \ \ / / _ \ | |_| \__ \ __/ | | | __/ |_ / ___ \| | | (__| | | | |\ V / __/ \___/|___/\___|_| |_|\___|\__| /_/ \_\_| \___|_| |_|_| \_/ \___|
Talk: *INSTANT* new figlet fonts!;Line: Examples
rec.arts.ascii
· 13 messages · 16 Oct 1994 - 31 Oct 1994
Ok, I'm really following up on what I've posted before, but I've been playing around with figlet with some *amazing* results! > Subject: Talk: Reduce the no. of flf files but INCREASE the no. of fonts! [...] > ***************************************************************** > * * > * There is an almost UNLIMITED number of fonts possible - and I * > * say this while advocating a REDUCTION in the number of flf * > * files that are now available!!!! * > * * > ***************************************************************** [...] > Anthony Thysson has suggested (in the figlet email list) that > many fonts are very similar, with most differences being a > simple traslation of one character (or pattern of characters) > with another. > For example, it's possible to get an exact reproduction of one > font by piping the output of a similar font though the unix tr > comand. (Check "man tr" if you don't know of this command). > (And BTW, there IS a dos version of tr available at Simtel - > oak.oakland.edu :: /SimTel/msdos/textutil/tr112.zip). [...] Ok, this is with the default font, standard.flf... echo Tony | figlet _____ |_ _|__ _ __ _ _ | |/ _ \| '_ \| | | | | | (_) | | | | |_| | |_|\___/|_| |_|\__, | |___/ Now have a look at this... echo Tony | figlet | tr ' ' ':' :_____::::::::::::::::: |_:::_|__::_:__::_:::_: ::|:|/:_:\|:'_:\|:|:|:| ::|:|:(_):|:|:|:|:|_|:| ::|_|\___/|_|:|_|\__,:| :::::::::::::::::|___/: and this... echo Tony | figlet | tr '|' '$' _____ $_ _$__ _ __ _ _ $ $/ _ \$ '_ \$ $ $ $ $ $ (_) $ $ $ $ $_$ $ $_$\___/$_$ $_$\__, $ $___/ echo Tony | figlet | tr '|' '\!' _____ !_ _!__ _ __ _ _ ! !/ _ \! '_ \! ! ! ! ! ! (_) ! ! ! ! !_! ! !_!\___/!_! !_!\__, ! !___/ Well, these last two are not all that exciting, but you get the general idea. (Note that you must use "\" to escape certain characters for tr). Now for something really neat... allligator.flf is a really nice font, and the variations on this are great! ::::::::::: :::::::: :::: ::: ::: ::: :+: :+: :+: :+:+: :+: :+: :+: +:+ +:+ +:+ :+:+:+ +:+ +:+ +:+ +#+ +#+ +:+ +#+ +:+ +#+ +#++: +#+ +#+ +#+ +#+ +#+#+# +#+ #+# #+# #+# #+# #+#+# #+# ### ######## ### #### ### That was with no tr, but... echo Tony | figlet -f alligator | tr ':\#' '\#|' ########### ######## #### ### ### ### #+# #+# #+# #+#+# #+# #+# #+# +#+ +#+ +#+ #+#+#+ +#+ +#+ +#+ +|+ +|+ +#+ +|+ +#+ +|+ +|++# +|+ +|+ +|+ +|+ +|+|+| +|+ |+| |+| |+| |+| |+|+| |+| ||| |||||||| ||| |||| ||| Voila! Instant totally new font! :-) echo Tony | figlet -f alligator | tr ':+\#' '|\+\#|' ||||||||||| |||||||| |||| ||| ||| ||| |!| |!| |!| |!|!| |!| |!| |!| !|! !|! !|! |!|!|! !|! !|! !|! !:! !:! !|! !:! !|! !:! !:!!| !:! !:! !:! !:! !:!:!: !:! :!: :!: :!: :!: :!:!: :!: ::: :::::::: ::: :::: ::: ... and so on. The possibilities are endless! Try it! Cheers Tony ___________________________________________________________________ /_ \ Tony Nugent Griffith University Brisbane Queensland Australia \___ \@)_\ Email: T.N...@sct.gu.edu.au tnu...@gucis.cit.gu.edu.au\(@\ \________________________________________________________________\_/
Tony Nugent <T.N...@sct.gu.edu.au> wrote: > [snip] > >> Anthony Thysson has suggested (in the figlet email list) that >> many fonts are very similar, with most differences being a >> simple traslation of one character (or pattern of characters) >> with another. > >> For example, it's possible to get an exact reproduction of one >> font by piping the output of a similar font though the unix tr >> comand. (Check "man tr" if you don't know of this command). >> (And BTW, there IS a dos version of tr available at Simtel - >> oak.oakland.edu :: /SimTel/msdos/textutil/tr112.zip). > >[...] > >Ok, this is with the default font, standard.flf... > >echo Tony | figlet > _____ >|_ _|__ _ __ _ _ > | |/ _ \| '_ \| | | | > | | (_) | | | | |_| | > |_|\___/|_| |_|\__, | > |___/ > [snip] > >echo Tony | figlet | tr '|' '\!' > _____ >!_ _!__ _ __ _ _ > ! !/ _ \! '_ \! ! ! ! > ! ! (_) ! ! ! ! !_! ! > !_!\___/!_! !_!\__, ! > !___/ > >Well, these last two are not all that exciting, but you get the >general idea. (Note that you must use "\" to escape certain >characters for tr). What are the characters that must be escaped? >Now for something really neat... allligator.flf is a really nice >font, and the variations on this are great! > ::::::::::: :::::::: :::: ::: ::: ::: > :+: :+: :+: :+:+: :+: :+: :+: > +:+ +:+ +:+ :+:+:+ +:+ +:+ +:+ > +#+ +#+ +:+ +#+ +:+ +#+ +#++: > +#+ +#+ +#+ +#+ +#+#+# +#+ > #+# #+# #+# #+# #+#+# #+# >### ######## ### #### ### > >That was with no tr, but... > >echo Tony | figlet -f alligator | tr ':\#' '\#|' > ########### ######## #### ### ### ### > #+# #+# #+# #+#+# #+# #+# #+# > +#+ +#+ +#+ #+#+#+ +#+ +#+ +#+ > +|+ +|+ +#+ +|+ +#+ +|+ +|++# > +|+ +|+ +|+ +|+ +|+|+| +|+ > |+| |+| |+| |+| |+|+| |+| >||| |||||||| ||| |||| ||| > >Voila! Instant totally new font! :-) > [snip] > >... and so on. The possibilities are endless! Try it! OK, here's the standard output of the alligator.flf font: ::::::::::: :::::::::: :::::::: ::::::::::: :+: :+: :+: :+: :+: +:+ +:+ +:+ +:+ +#+ +#++:++# +#++:++#++ +#+ +#+ +#+ +#+ +#+ #+# #+# #+# #+# #+# ### ########## ######## ### You can flip it by typing: echo Test | figlet -f alligator | tr ':+#' '#+:' Which gives us: ########### ########## ######## ########### #+# #+# #+# #+# #+# +#+ +#+ +#+ +#+ +:+ +:++#++: +:++#++:++ +:+ +:+ +:+ +:+ +:+ :+: :+: :+: :+: :+: ::: :::::::::: :::::::: ::: And of course, you can send the output to a file, like: echo Test | figlet -f alligator | tr ':+#' '#+:' > output.file Let's see some examples of modified Figlet fonts! -- ###### ###=# =#==#= =+=++++ ++++++ ++=+= =++#=+# ==#=## #=# ### ### ####### ###=#= #=#====+ =+=++=++ ++++++ ++=++= +=+==#+= #=#==### =## ### ### ### ### =#= =#= #== =++ +++ ++= =+= =#= ==# =## #=# ### ### ###### ### #=#==#== =+==+++ +++++ ++= +===+=# #=# #=# =#= ### ### ###### ### ##==##== ==++++ +++++ ++= =+=+=# ==# ##= #=# ### ### ### ### #== =#= +=+ =++ +++ +++ +=+ =#= =## #=# =## ### ### ####### ####=# =#= #== =+= +++ ++++++ ++=+=+ =+= +=# ==##=### #=########### ###### ###== #=# =#= =++ =++ ++++++ ++=+= ++= =+= #==##= =#=########
Because of the usefulness of the tr command to ASCII art, I'm posting
the manual page for it:
TR(1) BSD Reference Manual TR(1)
NAME
tr - Translate Characters.
SYNOPSIS
tr [-cs] string1 string2
tr [-c] -d string1
tr [-c] -s string1
tr [-c] -ds string1 string2
DESCRIPTION
The tr utility copies the standard input to the standard output with sub-
stitution or deletion of selected characters.
The following options are available:
-c Complements the set of characters in string1, that is ``-c ab''
includes every character except for ``a'' and ``b''.
-d The -d option causes characters to be deleted from the input.
-s The -s option squeezes multiple occurrences of the characters
listed in the last operand (either string1 or string2) in the in-
put into a single instance of the character. This occurs after
all deletion and translation is completed.
In the first synopsis form, the characters in string1 are translated into
the characters in string2 where the first character in string1 is trans-
lated into the first character in string2 and so on. If string1 is
longer than string2, the last character found in string2 is duplicated
until string1 is exhausted.
In the second synopsis form, the characters in string1 are deleted from
the input.
In the third synopsis form, the characters in string1 are compressed as
described for the -s option.
In the fourth synopsis form, the characters in string1 are deleted from
the input, and the characters in string2 are compressed as described for
the -s option.
The following conventions can be used in string1 and string2 to specify
sets of characters:
character Any character not described by one of the following conven-
tions represents itself.
\octal A backslash followed by 1, 2 or 3 octal digits represents a
character with that encoded value. To follow an octal se-
quence with a digit as a character, left zero-pad the octal
sequence to the full 3 octal digits.
\character
A backslash followed by certain special characters maps to
special values.
\a <alert character>
\b <backspace>
\f <form-feed>
\n <newline>
\r <carriage return>
\t <tab>
\v <vertical tab>
A backslash followed by any other character maps to that char-
acter.
c-c Represents the range of characters between the range end-
points, inclusively.
[:class:] Represents all characters belonging to the defined character
class. Class names are:
alnum <alphanumeric characters>
alpha <alphabetic characters>
cntrl <control characters>
digit <numeric characters>
graph <graphic characters>
lower <lower-case alphabetic characters>
print <printable characters>
punct <punctuation characters>
space <space characters>
upper <upper-case characters>
xdigit <hexadecimal characters>
With the exception of the ``upper'' and ``lower'' classes,
characters in the classes are in unspecified order. In the
``upper'' and ``lower'' classes, characters are entered in as-
cending order.
For specific information as to which ASCII characters are in-
cluded in these classes, see ctype(3) and related manual
pages.
[=equiv=] Represents all characters or collating (sorting) elements be-
longing to the same equivalence class as equiv. If there is a
secondary ordering within the equivalence class, the charac-
ters are ordered in ascending sequence. Otherwise, they are
ordered after their encoded values. An example of an equiva-
lence class might be ``c'' and ``ch'' in Spanish; English has
no equivalence classes.
[#*n] Represents n repeated occurrences of the character represented
by #. This expression is only valid when it occurs in string2.
If n is omitted or is zero, it is be interpreted as large
enough to extend string2 sequence to the length of string1. If
n has a leading zero, it is interpreted as an octal value,
otherwise, it's interpreted as a decimal value.
The tr utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
The following examples are shown as given to the shell:
Create a list of the words in file1, one per line, where a word is taken
to be a maximal string of letters.
tr -cs "[:alpha:]" "\n" < file1
Translate the contents of file1 to upper-case.
tr "[:lower:]" "[:upper:]" < file1
Strip out non-printable characters from file1.
tr -cd "[:print:]" < file1
COMPATIBILITY
System V has historically implemented character ranges using the syntax
``[c-c]'' instead of the ``c-c'' used by historic BSD implementations and
standardized by POSIX. System V shell scripts should work under this im-
plementation as long as the range is intended to map in another range,
i.e. the command ``tr [a-z] [A-Z]'' will work as it will map the ``[''
character in string1 to the ``['' character in string2. However, if the
shell script is deleting or squeezing characters as in the command ``tr
-d [a-z]'', the characters ``['' and ``]'' will be included in the dele-
tion or compression list which would not have happened under an historic
System V implementation. Additionally, any scripts that depended on the
sequence ``a-z'' to represent the three characters ``a'', ``-'' and ``z''
will have to be rewritten as ``a\-z''.
The tr utility has historically not permitted the manipulation of NUL
bytes in its input and, additionally, stripped NUL's from its input
stream. This implementation has removed this behavior as a bug.
The tr utility has historically been extremely forgiving of syntax er-
rors, for example, the -c and -s options were ignored unless two strings
were specified. This implementation will not permit illegal syntax.
STANDARDS
The tr utility is expected to be IEEE Std1003.2 (``POSIX'') compatible.
It should be noted that the feature wherein the last character of string2
is duplicated if string2 has less characters than string1 is permitted by
POSIX but is not required. Shell scripts attempting to be portable to
other POSIX systems should use the ``[#*]'' convention instead of relying
on this behavior.
BSDI BSD/386 February 2, 1994 3
Tony Nugent <T.N...@sct.gu.edu.au> wrote: >>Well, these last two are not all that exciting, but you get the >>general idea. (Note that you must use "\" to escape certain >>characters for tr). bob...@wwa.com (Bob Allison) writes: > What are the characters that must be escaped? Any character that the shell would interpret as a special character. What exactly those characters are depends on what shell you're using. But most shells I know of require * & $ ^ ! ; ~ ` " < > ? \ escaped. God bless, Ian
Tony Nugent (T.N...@sct.gu.edu.au) wrote: > Ok, I'm really following up on what I've posted before, but I've > been playing around with figlet with some *amazing* results! Yep, I've just started messing with it myself. It IS endless. -- ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()() !!!!!! ! ! !! ! ! ! ! ! Danni Bauer ! ! ! ! !! ! !! ! ! : : : : : : : : : : : bau...@gtetel.com : : :::::: : : : : : : : . . . . . .. . .. . 737...@compuserve.com ...... . . . . . . .
cha...@ta12.cs.uiuc.edu (Ian Chai) writes: >Tony Nugent <T.N...@sct.gu.edu.au> wrote: >>>Well, these last two are not all that exciting, but you get the >>>general idea. (Note that you must use "\" to escape certain >>>characters for tr). >bob...@wwa.com (Bob Allison) writes: >> What are the characters that must be escaped? >Any character that the shell would interpret as a special character. >What exactly those characters are depends on what shell you're using. >But most shells I know of require * & $ ^ ! ; ~ ` " < > ? \ escaped. Ian, thanks for the followup. I didn't have the time to investigate the all potential characters. I also found that the # character also needs escaping (it's interpreted as commenting out the rest of the line in some shells). Cheers Tony /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/~\ | Tony Nugent Griffith University, Brisbane, Queensland, Australia| _ | | Email: T.N...@sct.gu.edu.au tnu...@gucis.cit.gu.edu.au | @|| \__________________________________________________________________\_/| / Pull here for the full .sig or use finger on the second address / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All these figlet fonts. Where can I get more of them? (I have 2) and how
would I set it up so that I don't need them in the directory that I'm
currently in? Thanks.
---Eric---
--
---
_____ _ __ __ _ _ _
| ____|_ __(_) ___ | \/ | ___ __| | __| | __ _ _ _ __ _| |__
| _| | '__| |/ __| | |\/| |/ _ \/ _` |/ _` |/ _` | | | |/ _` | '_ \
| |___| | | | (__ | | | | __/ (_| | (_| | (_| | |_| | (_| | | | |
|_____|_| |_|\___| |_| |_|\___|\__,_|\__,_|\__,_|\__,_|\__, |_| |_|
|___/
Senior Operator for Math Lab InterNET: med...@oswego.Oswego.Edu
In article <37sdp0$17...@gagme.wwa.com> you write: > > Because of the usefulness of the tr command to ASCII art, I'm posting >the manual page for it: where can i get the tr command...I do not think are system has it? could you help me? gregg
Eric Thomas Meddaugh speaking: > All these figlet fonts. Where can I get more of them? (I have 2) FTP to ftp.isu.edu and look in /pub/figlet/fonts for four directories of guaranteed 100% pure Figlet fonts. There are hundreds of them. > and how would I set it up so that I don't need them in the directory > that I'm currently in? Thanks. Recompile Figlet with some compile option (I think it's in the makefile) saying what directory to look in besides the current one. Peter
Eric Thomas Meddaugh (med...@oswego.Oswego.EDU) wrote: > All these figlet fonts. Where can I get more of them? (I have 2) and how > would I set it up so that I don't need them in the directory that I'm > currently in? Thanks. Try: http://www.inf.utfsm.cl/cgi-bin/figlet -- %*+-+*%$%*+-+*%$*+-+*%$%*+-+*%$%*+-+*%$*+-+*%$%*+-+*%$%*+-+*%$*+-+*%$%*+-+*% _____ _ (____ \ (_) Danni Bauer _ \ \ ____ ____ ____ _ | | | / _ | _ \| _ \| | bau...@gtetel.com | |__/ ( ( | | | | | | | | | |_____/ \_||_|_| |_|_| |_|_| 737...@compuserve.com
I would like to get an ASCII picture of Daffy the Duck, or Bugs Bunny or both, if I could get a hold of it. I also want a Figlet (doesn't matter) name of Daffy.. Thanks
Tony Nugent <T.N...@sct.gu.edu.au> writes: >I also found that the # character also needs escaping (it's >interpreted as commenting out the rest of the line in some >shells). Oops, yes indeed, it does. (I shoulda known that, but I just didn't think of it at the time.)
Danni Bauer (bau...@gtetel.com) wrote: : Eric Thomas Meddaugh (med...@oswego.Oswego.EDU) wrote: : > All these figlet fonts. Where can I get more of them? (I have 2) and how what's a figlet font..is it a specific font, like Arial and Times New Roman, or is it a type/family of fonts, like TrueType and ATM? what are the endearing qualities to such fonts that you want them so bad? can you roughly describe their appearance?
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
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.