mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 11:22:40 +01:00
935ced1edd
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
1314 lines
6.2 KiB
Text
1314 lines
6.2 KiB
Text
__
|
|
/ /
|
|
/ /
|
|
\ \
|
|
\_\
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
_/
|
|
|__
|
|
|
|
_
|
|
/
|
|
| (
|
|
\_
|
|
|
|
|
|
__
|
|
/ _
|
|
\__
|
|
|__
|
|
|
|
_
|
|
| |
|
|
| '
|
|
| |
|
|
|_|
|
|
|
|
_
|
|
| |
|
|
| |
|
|
|
|
|
|_|
|
|
|
|
__
|
|
\ \
|
|
\ \
|
|
/ /
|
|
/_/
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
_/
|
|
|__
|
|
|
|
_
|
|
/
|
|
| (
|
|
\_
|
|
|
|
|
|
__
|
|
/ _
|
|
\__
|
|
|__
|
|
|
|
_
|
|
| |
|
|
| '
|
|
| |
|
|
|_|
|
|
|
|
_
|
|
| |
|
|
| |
|
|
|
|
|
|_|
|
|
|
|
|
|
/
|
|
/
|
|
| |
|
|
\
|
|
\
|
|
_
|
|
(_)
|
|
| |
|
|
| |
|
|
|_|
|
|
|
|
|
|
_
|
|
| '
|
|
| |
|
|
|_|
|
|
|
|
_
|
|
/
|
|
| |
|
|
|
|
|
|_|
|
|
|
|
_
|
|
| |
|
|
| |
|
|
| |
|
|
|_|
|
|
|
|
|
|
_
|
|
| |
|
|
| |
|
|
\_
|
|
|
|
|
|
__
|
|
\ \
|
|
>
|
|
/_/
|
|
|
|
|
|
_
|
|
(_)
|
|
_
|
|
(_)
|
|
|
|
|
|
|
|
/
|
|
/
|
|
/_/
|
|
|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