Display text as ASCII art in Java (jfiglet)

jfiglet It easily converts text to ASCII art. github : https://github.com/lalyos/jfiglet

  _   _          _   _         
 | | | |   ___  | | | |   ___  
 | |_| |  / _ \ | | | |  / _ \ 
 |  _  | |  __/ | | | | | (_) |
 |_| |_|  \___| |_| |_|  \___/ 
                               

maven

<dependency>
	<groupId>com.github.lalyos</groupId>
	<artifactId>jfiglet</artifactId>
	<version>0.0.8</version>
</dependency>

How to use

String asciiArt= FigletFont.convertOneLine("Hello");
System.out.println(asciiArt);

output

  _   _          _   _         
 | | | |   ___  | | | |   ___  
 | |_| |  / _ \ | | | |  / _ \ 
 |  _  | |  __/ | | | | | (_) |
 |_| |_|  \___| |_| |_|  \___/ 
                               

Recommended Posts

Display text as ASCII art in Java (jfiglet)
ASCII art in Java
Easily read text files in Java (Java 11 & Java 7)
Display Firestore data in RecyclerView [Java]
TCP communication (socket communication) in Java (ASCII, Binary)
Output Notes document as XML document in Java
Display message dialog in java (personal memo)
How to display a web page in Java
Text extraction in Java from PDF with pdfbox-2.0.8
Display "Hello World" in the browser using Java
Display "Hello World" in the browser using Java
Set pop-up display for Java language in vim.
Display text character by character in Android Surface View
Change paragraph text color in Java Word documents
[Java] Something is displayed as "-0.0" in the output
Changes in Java 11
Java introductory text
Rock-paper-scissors in Java
Pi in Java
FizzBuzz in Java
Java extracts text content of SmartArt shapes in PowerPoint
[For beginners] Minimum sample to display RecyclerView in Java
Work as a team! Face Null head-on in Java
Java11: Run Java code in a single file as is