1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

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

Discussion in 'Additional libraries, classes and official updates' started by DonManfred, Apr 7, 2019.

  1. DonManfred

    DonManfred Expert Licensed User

    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. :D

    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 :D

    Code:
    File.Copy(File.DirAssets,"standard.flf",File.DirInternal,"standard.flf")
        lblFiglet.Text = figlet.convertOneLine(
    File.Combine(File.DirInternal,"standard.flf"),"Hello B4A")
    WhatsApp Image 2019-04-07 at 15.42.17.jpeg
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice