A basic parser for FIGlet fonts.
Haxe
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
LICENSE
README.md
haxelib.json

README.md

bktree (Haxe Library)

A haxe implementation of a FIGdriver, used to parse FIGlet fonts and return the formatted text. Based on the javascript version figlet-js by Scott González

Installation

haxelib install figlet

Usage

import sys.io.File;

class Main {
	static function main() {
		trace(FIGlet.write("FIGlet", File.getContent("../standard.flf")));
/*		  _____   ___    ____   _          _
		 |  ___| |_ _|  / ___| | |   ___  | |_
		 | |_     | |  | |  _  | |  / _ \ | __|
		 |  _|    | |  | |_| | | | |  __/ | |_
		 |_|     |___|  \____| |_|  \___|  \__|
*/
	}
}