morse FIGlet font

ASCII art font (.flf), 1 lines high, included in figlet4j (default).

-- --- .-. ... .

Sample text

..-. .. --. .-.. . - ....- .---

Character set

.- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. --
-. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --..
.- -... -.-. -.. . ..-. --. .... .. .--- -.- .-.. --
-. --- .--. --.- .-. ... - ..- ...- .-- -..- -.-- --..
----- .---- ..--- ...-- ....- ..... -.... --... ---.. ----.

Supported characters

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 { | } ~   « ´ » ¼ ½ ¾ Á Ä Å É Ñ Ö Ü ß á ä å é ñ ö ü

Details

Namemorse
FormatFIGlet (.flf)
Font packfiglet4j (default)
Height1 lines, baseline at 1
Layoutfull width
Print directionleft to right
Characters118
Also spelledMorse

Use it

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>morse</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>morse</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("morse");
System.out.println(new FigletRenderer(font).render("Figlet4j"));

Font info

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

Similar fonts