Skip to content

Commit 935ced1

Browse files
author
epriestley
committedSep 13, 2015
Include "Figlet" and PEAR "Text_Figlet" in externals
Summary: Ref T7785. This prepares for (but does not yet use) a pure PHP implementation of Figlet parsing and rendering. Figlet is somewhat complex, but a parser already exists in PEAR. I'll make sure it's suitable and hook it up in the next diff. Test Plan: N/A, code not reachable Reviewers: chad Reviewed By: chad Maniphest Tasks: T9408, T7785 Differential Revision: https://secure.phabricator.com/D14101
1 parent c705c80 commit 935ced1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+53422
-0
lines changed
 

‎externals/figlet/.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
chkfont
2+
figlet
3+
tags
4+
*.o
5+
core
6+
*~
7+
tests.log
8+
*.tar.gz

‎externals/figlet/CHANGES

+205
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
Changes in FIGlet 2.2.5
2+
-----------------------
3+
4+
FIGlet 2.2.5 is a revision of FIGlet 2.2.4 containing updated andproperly
5+
licensed ISO8859 map files. The full list of changes is:
6+
7+
o Add regression tests for uskata and jis0201 control files
8+
9+
o Properly escape minus signs in figlist(6) man page (Jonathan
10+
McCrohan)
11+
12+
o Fix chkfont coredump on invalid input (Kenneth Davies and
13+
Jonathan McCrohan)
14+
15+
o Update ISO8859 map files to fix licensing issue raised in Debian
16+
bugs 673096 and 674844
17+
18+
o Re-add missing figmagic and getopt.c files which were left out
19+
of releases 2.2.3 and 2.2.4
20+
21+
o Fix output of test script in MacOS X
22+
23+
These changes were made by Claudio Matsuoka <cmatsuoka@gmail.com>
24+
31 May 2012
25+
26+
Changes in FIGlet 2.2.4
27+
-----------------------
28+
29+
FIGlet 2.2.4 is a revision of FIGlet 2.2.3 featuring bugfixes and support
30+
to tlf2 fonts. The full list of changes is:
31+
32+
o Add support to Sam Hocevar's TOIlet TLF fonts containing UTF-8
33+
encoded Unicode characters.
34+
35+
o Add infocode 5 to list supported font formats
36+
37+
o Fix rendering error caused by the previous attempt to fix invalid
38+
memory accesses when smushing at start of line
39+
40+
o New environment variable FIGLET_FONTDIR can be used to specify
41+
the path to search for fonts
42+
43+
o Add regression tests
44+
45+
These changes were made by Claudio Matsuoka <cmatsuoka@gmail.com>
46+
26 January 2011
47+
48+
Changes in FIGlet 2.2.3
49+
-----------------------
50+
51+
FIGlet 2.2.3 is a revision of FIGlet 2.2.2 featuring minor bugfixes and
52+
important licensing changes in the zipio files. The full list of
53+
changes is:
54+
55+
o License changed from "Academic Free License" to "New BSD License"
56+
(3-clause) as agreed by FIGlet authors
57+
58+
o New JIS X 0201 control file (Micah Cowan)
59+
60+
o Fix behavior of JIS0201 SHIFT-OUT and SHIFT-IN that were previouly
61+
inverted (Micah Cowan)
62+
63+
o Fix memory violation when smushing at line start
64+
65+
o Fix handling of memory allocation errors
66+
67+
o Relicense Ed Hamrick zipio under the MIT license. This should
68+
eliminate any concerns about redistribution of FIGlet as libre
69+
software.
70+
71+
o Update Makefile to meet modern standards in variable naming, using
72+
BINDIR as the pathname for binary files and reservind DESTDIR
73+
as the extra prefix commonly used in package building.
74+
75+
o Add a Turbo C makefile, just because I had the compiler. (this
76+
also tests portability to old compilers and foreign platforms)
77+
78+
o Add Jonathon Abbott's man pages for figlist, showfigfonts and
79+
chkfont originally contributed to the Debian Project
80+
81+
These changes were made by Claudio Matsuoka <cmatsuoka@gmail.com>
82+
12 January 2011
83+
84+
Changes in FIGlet 2.2.2
85+
-----------------------
86+
87+
License changed from "Artistic License" to "Academic Free
88+
License" as agreed by FIGlet authors. 05 July 2005
89+
90+
Changes in FIGlet 2.2.1
91+
-----------------------
92+
93+
FIGlet 2.2.1 is a minor revision of FIGlet 2.2. The files
94+
README, Makefile, figfont.txt, figlet.c and figlet.6 have been
95+
changed to reflect changes in documentation, official contact
96+
details etc. FTP-NOTE merged into README. FAQ and CHANGES
97+
added to the distribution.
98+
99+
All other files are identical with the 2.2 release.
100+
101+
These changes were made by Christiaan Keet <keet@plig.net>
102+
103+
Changes in FIGlet 2.2
104+
---------------------
105+
106+
FIGlet 2.2 is a moderate revision of FIGlet 2.1.2. The new features are:
107+
108+
o font files and control files can be compressed using ``zip'', and
109+
will be automatically decompressed
110+
111+
o new commands in controlfiles provide support for
112+
single-byte (default), double-byte, HZ, Shift-JIS, and Unicode
113+
UTF-8 encodings of the input
114+
115+
o ISO 2022 escape sequences are decoded and interpreted
116+
117+
o control files can now have the format of Unicode Consortium
118+
mapping tables (two columns of numbers representing
119+
input character and output character, no ranges, # comments)
120+
121+
o new options -s (smush, same as -m-2), -k (kern, same as -m0),
122+
-S (forced smushing), and -W (full width, same as -m-1) make
123+
-m option unnecessary except for font designers. The -S option
124+
works even if the font's smushmode is 0 or -1, in which case
125+
the smushmode is read from a new parameter in the
126+
font's first line, or does universal overlapping if no such parameter
127+
exists
128+
129+
o universal smushing (-o option to force it, but -S will use it
130+
if no smush rules are available) makes FIGcharacters overlap by
131+
one place independent of how they are constructed
132+
more fonts smushable.
133+
134+
o file "figmagic" can be appended to your system magic number
135+
file to make the "file" command recognize FIGlet files
136+
137+
o file "figfont.txt" is an implementation-independent specification
138+
for FIGlet fonts and control files
139+
140+
o integrated support for extended characters (extended Latin in
141+
"standard", Greek in "big", katakana in "banner", Hebrew in new
142+
"ivrit" fonts) with appropriate controlfiles
143+
144+
o smushing rule 16 has changed slightly: "/\" now smushes
145+
into "|" and "\/" smushes into "Y"; "><" still smushes
146+
into "X" and "<>" is still not smushed at all.
147+
148+
o -A option introduced in FIGlet 2.1.2 is now optional;
149+
if any words appear on the command line after the options,
150+
they are formatted, and the standard input is not read.
151+
152+
These changes were made by John Cowan <cowan@ccil.org>.
153+
154+
Changes in FIGlet 2.1.2
155+
------------------------
156+
157+
FIGlet 2.1.2 is a minor revision of FIGlet 2.1.1. The files
158+
README, FTP-NOTE, figlet.c and figlet.6 have been changed. All other
159+
files are identical with the 2.1.1 release.
160+
161+
o The only new option is -A, which causes FIGlet to read input
162+
from the command line.
163+
164+
These changes were made by Gilbert Healton <ghealton@nmia.com> as Glenn
165+
Chappell is now busy as a new professor of Mathematics.
166+
167+
Changes in FIGlet 2.1
168+
----------------------
169+
170+
A number of minor bugs and major incompatibility problems have been
171+
fixed. FIGlet 2.1 should compile correctly on many operating systems for
172+
which FIGlet 2.0 did not.
173+
174+
o The "-F" command line option, which used to list all the available
175+
fonts, has been removed, since it made FIGlet incompatible with some
176+
operating systems. It has been replaced by the "figlist" script. The
177+
"showfigfonts" script has been updated so that it no longer requires
178+
the "-F" option to be available.
179+
180+
o The FIGlet font file format has been extended to allow an arbitrarily
181+
large number of characters. The ISO Latin-1 character set, which
182+
includes many accented letters and special symbols, has been added to
183+
most standard fonts.
184+
185+
o FIGlet can now print right-to-left. This can be specified on the
186+
command line ("-R") or in the font file. Thus, for example, Hebrew and
187+
Arabic fonts can be handled more easily.
188+
189+
o FIGlet can now right justify its output. This is the default when
190+
right-to-left printing is selected. It can also be specified on the
191+
command line ("-r").
192+
193+
o FIGlet now supports "control files". These can be used to change which
194+
character FIGlet will print when it sees a certain input character --
195+
sort of an expanded version of the "-D" option. For example, a control
196+
file could convert lower-case letters to upper-case or map certain
197+
ASCII characters to accented letters. Control file names end with the
198+
suffix ".flc". Select a control file by using "-C controlfile" on the
199+
command line. Several controlfiles can be used at once by giving
200+
muliple "-C" options.
201+
202+
o There is now a way for programs that use FIGlet to get various
203+
information from FIGlet, for example, what version of FIGlet is being
204+
used or the name of the default font directory. This information is
205+
gotten through the "-I" option. See the man page for details.

0 commit comments

Comments
 (0)
Failed to load comments.