ASCII art font (.flf), 1 lines high, included in figlet-fonts-xero.
-- --- .-. ... . ..---
..-. .. --. .-.. . - ....- .---
.- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. -- -. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --.. .- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. -- -. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --.. ----- .---- ..--- ...-- ....- ..... -.... --... ---.. ----.
The font can render 118 characters: all of ASCII, plus 22 of Latin-1 Supplement.
! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ « ´ » ¼ ½ ¾ Á Ä Å É Ñ Ö Ü ß á ä å é ñ ö ü
| Name | Morse2 |
|---|---|
| Format | FIGlet (.flf) |
| Font pack | figlet-fonts-xero |
| Height | 1 lines, baseline at 1 |
| Layout | full width |
| Print direction | left to right |
| Characters | 118 |
In the build log, with figlet-maven-plugin, which includes all fonts:
<plugin>
<groupId>io.github.spannm</groupId>
<artifactId>figlet-maven-plugin</artifactId>
<version>1.2.0</version>
<configuration>
<font>Morse2</font>
</configuration>
<executions>
<execution>
<goals>
<goal>render</goal>
</goals>
</execution>
</executions>
</plugin>
As a Spring Boot banner: the plugin writes banner.txt at build time, so the application needs no runtime dependency on figlet:
<plugin>
<groupId>io.github.spannm</groupId>
<artifactId>figlet-maven-plugin</artifactId>
<version>1.2.0</version>
<configuration>
<font>Morse2</font>
<outputFile>${project.build.outputDirectory}/banner.txt</outputFile>
</configuration>
<executions>
<execution>
<goals>
<goal>render</goal>
</goals>
</execution>
</executions>
</plugin>
In Java, with figlet4j:
FigletFont font = FigletFontRegistry.loadFont("Morse2");
System.out.println(new FigletRenderer(font).render("Figlet4j"));
This font is not part of the default font pack, so add figlet-fonts-xero next to figlet4j:
<dependency>
<groupId>io.github.spannm</groupId>
<artifactId>figlet-fonts-xero</artifactId>
<version>1.2.0</version>
</dependency>
The header comment of the font file, with its author and license where given.
Morse by Glenn Chappell <ggc@uiuc.edu> 10/95 Based on info from "Morse Code and the Phonetic Alphabets" URL: http://www.soton.ac.uk/~scp93ch/refer/alphabet.html Includes some ISO Latin-1 characters