Standard fonts for ASCII banner generation
$ dotnet add package Figgle.Fonts _____ _ _ _____ _
| __|_|___ ___| |___ | __|___ ___| |_ ___
| __| | . | . | | -_|_| __| . | | _|_ -|
|__| |_|_ |_ |_|___|_|__| |___|_|_|_| |___|
|___|___|
This package bundles 250+ FIGlet fonts, for use with the Figgle package.
Due to the large number of fonts included in this package, you should consider
using the Figgle.Generator package to embed fonts or generated text, to reduce
memory usage and application footprint.
Console.WriteLine(
FiggleFonts.Standard.Render("Hello, World!"));
Produces...
_ _ _ _ __ __ _ _ _
| | | | ___| | | ___ \ \ / /__ _ __| | __| | |
| |_| |/ _ \ | |/ _ \ \ \ /\ / / _ \| '__| |/ _` | |
| _ | __/ | | (_) | \ V V / (_) | | | | (_| |_|
|_| |_|\___|_|_|\___( ) \_/\_/ \___/|_| |_|\__,_(_)
|/
Or with a source generator, for static text (sample project):
Console.WriteLine(MyAsciiBanners.Greeting);
[GenerateFiggleText(memberName: "Greeting", fontName: "cosmic", sourceText: "Hello, World!")]
internal static partial class MyAsciiBanners
{
// The source generator adds the Greeting property.
}
Or with a source generator, for dynamic text (sample project):
Console.WriteLine(MyFonts.CosmicFont.Render("Hello, World!"));
[EmbedFiggleFont(memberName: "CosmicFont", fontName: "cosmic")]
internal static partial class MyFonts
{
// The source generator adds the CosmicFont property.
}
Using FiggleFonts.Graffiti:
___ ___ .__ .__ __ __ .__ .___._.
/ | \ ____ | | | | ____ / \ / \___________| | __| _/| |
/ ~ \_/ __ \| | | | / _ \ \ \/\/ / _ \_ __ \ | / __ | | |
\ Y /\ ___/| |_| |_( <_> ) \ ( <_> ) | \/ |__/ /_/ | \|
\___|_ / \___ >____/____/\____/ /\ \__/\ / \____/|__| |____/\____ | __
\/ \/ )/ \/ \/ \/
Using FiggleFonts.ThreePoint:
|_| _ || _ \ / _ _| _||
| |(/_||(_), \/\/ (_)| |(_|.
Using FiggleFonts.Ogre:
_ _ __ __ _ _ _
/\ /\___| | | ___ / / /\ \ \___ _ __| | __| | / \
/ /_/ / _ \ | |/ _ \ \ \/ \/ / _ \| '__| |/ _` |/ /
/ __ / __/ | | (_) | \ /\ / (_) | | | | (_| /\_/
\/ /_/ \___|_|_|\___( ) \/ \/ \___/|_| |_|\__,_\/
|/
Using FiggleFonts.Rectangles:
__
_____ _ _ _ _ _ _ _| |
| | |___| | |___ | | | |___ ___| |_| | |
| | -_| | | . |_ | | | | . | _| | . |__|
|__|__|___|_|_|___| | |_____|___|_| |_|___|__|
|_|
Using FiggleFonts.Slant:
__ __ ____ _ __ __ ____
/ / / /__ / / /___ | | / /___ _____/ /___/ / /
/ /_/ / _ \/ / / __ \ | | /| / / __ \/ ___/ / __ / /
/ __ / __/ / / /_/ / | |/ |/ / /_/ / / / / /_/ /_/
/_/ /_/\___/_/_/\____( ) |__/|__/\____/_/ /_/\__,_(_)
|/