Skip to content

FigletFonts ​

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Static catalog of FIGfonts bundled with Hex1b. Each property exposes a lazily-loaded singleton instance; the underlying .flf resource is parsed on first access and cached for the lifetime of the process.

csharp
public static class FigletFonts

Inheritance ​

Object → FigletFonts

Properties ​

All ​

All bundled fonts in declaration order. Accessing this property forces every font to be loaded; use it for demos and font pickers, but prefer the per-font properties for production code that only needs one font.

Returns: IReadOnlyList<FigletFont>

csharp
public static IReadOnlyList<FigletFont> All { get; }

The "banner" FIGfont — wide, hash-shaped letters reminiscent of banner(1).

Returns: FigletFont

csharp
public static FigletFont Banner { get; }

Big ​

The "big" FIGfont — an enlarged 8-row banner font.

Returns: FigletFont

csharp
public static FigletFont Big { get; }

Block ​

The "block" FIGfont — solid block letters built from _/[].

Returns: FigletFont

csharp
public static FigletFont Block { get; }

Mini ​

The "mini" FIGfont — a tiny 4-row font for extremely narrow output.

Returns: FigletFont

csharp
public static FigletFont Mini { get; }

Names ​

All bundled font names in declaration order. Useful for building font pickers without triggering load of every font.

Returns: IReadOnlyList<String>

csharp
public static IReadOnlyList<string> Names { get; }

Shadow ​

The "shadow" FIGfont — text with a drop-shadow effect.

Returns: FigletFont

csharp
public static FigletFont Shadow { get; }

Slant ​

The "slant" FIGfont — italicized variant of the standard font.

Returns: FigletFont

csharp
public static FigletFont Slant { get; }

Small ​

The "small" FIGfont — a compact 5-row variant suitable for narrower terminals.

Returns: FigletFont

csharp
public static FigletFont Small { get; }

Standard ​

The "standard" FIGfont — the default monospace banner font from the FIGlet distribution.

Returns: FigletFont

csharp
public static FigletFont Standard { get; }

Remarks ​

All bundled fonts are part of the standard FIGlet 2.2 distribution and are redistributed under the FIGlet 3-clause BSD license (see THIRD-PARTY-NOTICES.txt in the package). Their original author attributions are preserved verbatim inside each .flf file's header comment block.

To use a custom font, call or at startup and pass the resulting font to .

Released under the MIT License.