ttfbanner is a command line program that generates ascii art characters from an input
line of text using outlines found in a truetype font file (ttf). It is the ttf version
of the old unix banner program.
This program was used to help make the opening titles for our movie.
Examples:
C:\>ttfbanner -?
usage: ttfbanner [-ig?V-] text...
[-f banner_font_filename] (= tahoma.ttf)
[-d display_font_filename] (= fixed width)
[-h em_height] (em) banner_font height in pixels (= 16), 0 will match width
[-w em_width] (em) banner_font width in pixels (= 0), 0 will match height
[-x oversample_width] banner_font oversampling width mulitpler (= 8)
[-y oversample_height] banner_font oversampling height mulitpler (= 8)
[-c character_set] (= "@80o ") (don't forget the space)
-i invert character set
-g debug mode
-V Version
-- Stop -option parsing
-? This help message
C:\>ttfbanner Matrix
@@ @@ o @o
@@8 8@@ @o
@0@ @0@ @o
@o00 00o@ 8@@@0 @@@@@ @00@o @o o@ @o
@o @ @ o@ 0 o@0 @0 @@0 @o @8 88
@o 80o8 o@ 0@ @o @0 @o @oo@
@o @@ o@ o08@@ @o @o @o 0@@o
@o @@ o@ @8o 0@ @o @o @o @@
@o o o@ @8 o@ @o @o @o o@@o
@o o@ @0 0@ @o @o @o @ o@
@o o@ 8@ 0@@ 8@ o @o @o @8 @8
@o o@ 8@@oo@ 8@@ @o @o 0@ @o
C:\>ttfbanner Matrix -c #_
____________________________________________________
_##______##______________#_____________##___________
_###____###______________##_________________________
_###____###______________##_________________________
_####__####____#####____#####___####___##__##____##_
_##_#__#_##____#___##____##_____###____##___##__##__
_##_##_#_##________##____##_____##_____##____#__#___
_##__##__##_____#####____##_____##_____##____###____
_##__##__##____###_##____##_____##_____##_____##____
_##______##___##___##____##_____##_____##____####___
_##______##___##___##____##_____##_____##____#_##___
_##______##___##__###____##_____##_____##___##__##__
_##______##____######_____###___##_____##__##____##_
C:\>ttfbanner Matrix -w 32 -c "Oo "
OOOOO oOOOO ooo OOO
OOOOOo oOOOOO OOO
OOO OOo oOO OOO OOO
OOO oOOo OOo OOO oOOOOOOOOOo OOOOOOOOOO OOO oOOOOo OOO OOOo oOOO
OOO oOO OOo OOO oOoo ooOOOo OOO OOOOOoo OOO OOOo oOOo
OOO OOO OOo OOO OOO OOO OOO OOO oOOO OOOo
OOO OOOOOO OOO ooOOOOOOOO OOO OOO OOO OOOOOO
OOO OOOO OOO OOOOOoooooOOO OOO OOO OOO OOOO
OOO OO OOO OOOo OOO OOO OOO OOO OOOOOO
OOO OOO OOO OOO OOO OOO OOO oOOo OOOo
OOO OOO oOOOo ooOOOOO oOOOo oo OOO OOO OOOo OOOo
OOO OOO oOOOOOOo OOO oOOOOOO OOO OOO OOO oOOO
C:\>ttfbanner -f palai.ttf Matrix -w 24 -c ":. "
..:: :::. .:
::. .::. :: .:
::: .::: :.
...: : :: .:
: :. : :: .::::. .::::. .:: .: :: .::. ::
: :: : :: .: :. :: . :: :.. . :: . :: : .
.. .:. .. :: : .: :. :.. :. :..
: :: .. :. :: :. .: :: .: ::
.: :: : :. :. :: :: .: :: ::
: .:.: .:. .: ..: :: :: :. ..:
.: :: .:. .: .. :: . ::.. :. .:.. . . :: .
.::.. .. ..:::. .:. :: :: .: .:. ::. .::
C:\>ttfbanner -f times.ttf Matrix -w 32 -c "+- "
+++
--++++ -++++- - -+-
++++ ++++ -+
+-+++ +-+++ +++
+ -+++ +- +++ -++---++- --+++--- --++ -+++ --++ -++++- ++--
+ -+++ +- +++ +++ +++ +++ -+++- -- +++ -++- -+
+ -++- ++ +++ -+- +++ +++ +++ +++ +++-+
+ +++- ++ +++ ----+++ +++ +++ +++ +++
+ +++- -+ +++ -++ +++ +++ +++ +++ ++++
+ +++++ +++ +++ +++ +++ +++ +++ -+ -++-
+ +++ +++ +++- -+++ +++ +++ +++ +- -++-
-+++- + --++++- +++++- -+++ ++++ --++++- -+++- -++- -++++-
C:\>ttfbanner -f pala.ttf Matrix -w 24 -c "% " -i
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%
%%% %%%%%%%%%%% %%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%
%%% %%%%%%%%% % %%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% % %%%%%%%% % %%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %% %%%%%%% %% %%%%%%% %%%%% %%%% %% %%% %%%% %%%%% %
%%% %% %%%%% %%% %%%%%% %%%% %%%%% %%%%%%%% % %%%%% %%%%%% %%% %%%
%%% %%% %%%% %%% %%%%%%%%%%%% %%%%% %%%%%%%% %%%%%%%%% %%%%%%% % %%%%
%%% %%%% %%% %%%% %%%%%%%% %%%%% %%%%%%%% %%%%%%%%% %%%%%%%% %%%%%
%%% %%%% % %%%%% %%%%%% %%%% %%%%% %%%%%%%% %%%%%%%%% %%%%%%%% %%%%
%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%%%%% %%%%%%%%% %%%%%%% % %%%
%%% %%%%%% %%%%%% %%%%% %%% %%%%% %%%%%%% %%%%%%%%% %%%%%% %%% %%
% %%%% %%%%% %%%% %% %%%%% %%%%% %%%%%%% %%% %%%%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
C:\>ttfbanner -f pala.ttf Matrix -w 24 -c "un"
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nuuuunnnnnnnnnnnnuuuuunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnuuunnnnnnnnnnnnnnn
nnnuuunnnnnnnnnnnuuunnnnnnnnnnnnnnnnnnnuunnnnnnnnnnnnnnnnnnuuunnnnnnnnnnnnnnn
nnnuuuunnnnnnnnnunuunnnnnnnnnnnnnnnnnnnuunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nnnunuunnnnnnnnuunuunnnnnnnnnnnnnnnnnnnuunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nnnunnuunnnnnnnunnuunnnnnnnuuuuuunnnnnuuuuuunnnnuuunnuunnnuuuunnnnuuunnnnnuun
nnnunnuuunnnnnunnnuunnnnnnunnnnuuunnnnnuunnnnnnnnuuuununnnnnuunnnnnnuunnnunnn
nnnunnnuunnnnuunnnuunnnnnnnnnnnnuunnnnnuunnnnnnnnuunnnnnnnnnuunnnnnnnuununnnn
nnnunnnnuunnnunnnnuunnnnnnnnuuuuuunnnnnuunnnnnnnnuunnnnnnnnnuunnnnnnnnuunnnnn
nnnunnnnuuununnnnnuunnnnnnuunnnnuunnnnnuunnnnnnnnuunnnnnnnnnuunnnnnnnnuuunnnn
nnnunnnnnuuuunnnnnuunnnnnuunnnnnuunnnnnuunnnnnnnnuunnnnnnnnnuunnnnnnnunuuunnn
nnnunnnnnnuunnnnnnuunnnnnuuunnnuuunnnnnuuunnnnnnnuunnnnnnnnnuunnnnnnunnnuuunn
nuuuuunnnnunnnnnuuuuuunnnnuuuunnuuunnnnnuuunnnnnuuuunnnnnnnuuuunnnuunnnnnuuun