B4A Library Figlet - Create ASCII-Art using "Fonts"

Inspired by ASCII-Art Generator posted by @somed3v3loper i remembered the old days using ASCII-Art.
Another nice gimmick was Figlet. I searched for a Githublib and did a quick wrap for this Github-Project.

Thank you @somed3v3loper for the remindings ;-)

Figlet
Author:
DonManfred
Version: 0.01
  • Figlet
    • Functions:
      • _initialize (activityClass As Object, EventName As String)
      • convertOneLine (fontPath As String, message As String) As String

Use Google search for Figlet-fonts.

Some links:
https://github.com/cmatsuoka/figlet-fonts
http://www.figlet.org/

HAVE FUN

B4X:
    File.Copy(File.DirAssets,"standard.flf",File.DirInternal,"standard.flf")
    lblFiglet.Text = figlet.convertOneLine(File.Combine(File.DirInternal,"standard.flf"),"Hello B4A")

 

Attachments

  • FigletEx.zip
    14.1 KB · Views: 318
  • FigletV0.01.zip
    17.5 KB · Views: 318
Cookies are required to use this site. You must accept them to continue using the site. Learn more…