What is the Obanner font?
masterbanner(6) command by Mark Horton (1993). It is intended to replicate the look of the classic banner utility, distinguishing it from the default banner font shipped with FIGlet.repository·master·Indexed 41 days ago
https://github.com/cmatsuoka/figlet-fontsA comprehensive collection of FIGlet fonts used to create ASCII art banners. Includes standard distribution fonts, CJK (Chinese-Japanese-Korean) fonts for FIGlet 2.2, Commodore 64 and MS-DOS fonts, and the Obanner font designed to replicate the UNIX banner(6) command.
banner(6) command by Mark Horton (1993). It is intended to replicate the look of the classic banner utility, distinguishing it from the default banner font shipped with FIGlet.banner(6) command by Mark Horton (1993). It is intended to replicate the 'original' banner style, distinguishing it from the default banner font shipped with FIGlet. The font is provided in various sizes; the number at the end of the filename (e.g., Obanner80) indicates the intended output width of the original banner command (e.g., banner -w 80).banner command. For example, Obanner80 corresponds to the output of banner -w 80.To use the Obanner font, you must specify the font name (e.g., Obanner16) and set the width flag to -w 1. Because banner(6) produces vertical output with one character per row, using a width greater than 1 will result in unexpected output.
To achieve the most accurate replication of the original banner(6) output, you should also use the -A flag and pipe the output through a Perl command to strip trailing whitespace.
# Standard usage
figlet -f Obanner16 -w 1 -A foo
# Most accurate replication (stripping trailing whitespace)
figlet -f Obanner16 -w 1 -A foo | perl -p -e 's/^\s+$//'Because banner(6) produces vertical output (one character per row), you must use the -w 1 flag when using Obanner fonts in FIGlet. To achieve exact replication of the original banner output, you should use the -A flag and strip trailing whitespace using a tool like perl to account for FIGlet's design constraints.
# Standard usage for Obanner
figlet -f Obanner16 -w 1 -A foo
# For exact replication of banner(6) output
figlet -f Obanner16 -w 1 -A foo | perl -p -e 's/^\s+$//'The repository organizes fonts into the following categories:
C64-fonts: Commodore 64 fonts converted by David Proper.Obanner: The font of the UNIX banner(6) command by Mark Horton.Obanner-canon: Banner font in selected sizes.bdffonts: X Window System BDF fonts converted to FIGlet.cjkfonts: Chinese-Japanese-Korean fonts converted from X.contributed: Classic contributed fonts from ftp.figlet.org.international: International and fantasy fonts.jave: New fonts collected by Markus Gebhard of JavE.ms-dos: MS-DOS specific fonts.ours: Standard distribution fonts.toilet: Sam Hocevar's TOIlet standard distribution fonts.tlf-contrib: Contributed fonts in TLF format.The CJK package includes controlfiles to handle character mapping and encoding transformations:
unshift: Maps 94 x 94 font in GR space (0xA1A1 - 0xFEFE) to GL space (0x2121 - 0x7E7E).iso2022: Strips off ISO 2022 character set information from 94 x 94 character sets.big5: Maps Taiwan Big-5 character set to CNS.The CJK (Chinese-Japanese-Korean) package for FIGlet 2.2 provides several fonts converted from X fonts. These fonts are categorized by language, encoding, and character grid size:
gb16fs: Chinese fang song ti font (16 x 16 characters, GB2312 encoding)gb16st: Chinese song ti font (16 x 16 characters, GB2312 encoding)cns: Traditional Chinese font (40 x 40 characters, CNS encoding with 0x010000 added to plane 1 and 0x020000 added to plane 2 characters)