diff --git a/src/main/java/io/github/realMorgon/signTextGenerator/GiveSignCommand.java b/src/main/java/io/github/realMorgon/signTextGenerator/GiveSignCommand.java index 901973a..2cfe377 100644 --- a/src/main/java/io/github/realMorgon/signTextGenerator/GiveSignCommand.java +++ b/src/main/java/io/github/realMorgon/signTextGenerator/GiveSignCommand.java @@ -12,9 +12,7 @@ import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.BlockStateMeta; -import org.bukkit.plugin.java.JavaPlugin; -import java.io.IOException; import java.io.InputStream; @CommandAlias("give-sign") @@ -24,7 +22,7 @@ public class GiveSignCommand extends BaseCommand { @Syntax(" ") @CommandCompletion("@material @color @font ") @Description("Gives a sign with custom text") - public void giveSign(Player player, String material, String color, String font , String text) throws IOException { + public void giveSign(Player player, String material, String color, String font , String text) { if(player.getGameMode() != org.bukkit.GameMode.CREATIVE) { player.sendMessage("You need to be in creative mode to use this command."); @@ -48,10 +46,10 @@ public void giveSign(Player player, String material, String color, String font , InputStream inputStream; try { - inputStream = JavaPlugin.getPlugin(SignTextGenerator.class).getDataPath().normalize().resolve(font + ".json").toUri().toURL().openStream(); + inputStream = SignTextGenerator.getPlugin().getResource("fonts/" + font + ".json"); }catch (Exception IOException) { player.sendMessage("Error generating text. Make sure the font exists."); - throw IOException; + return; } ObjectMapper objectMapper = new ObjectMapper(); JsonLayout jsonLayout; @@ -91,16 +89,12 @@ public void giveSign(Player player, String material, String color, String font , signBlock.getSide(Side.FRONT).setGlowingText(true); meta.setBlockState(signBlock); meta.displayName(Component.text() - .append(Component.text("§r" + text.substring(0, (i + 1) * maxCharsPerSign - maxCharsPerSign), signColor, TextDecoration.ITALIC)) - .append(Component.text(currentChars, signColor, TextDecoration.BOLD, TextDecoration.ITALIC)) - .append(Component.text(text.substring(i * maxCharsPerSign + maxCharsPerSign), signColor, TextDecoration.ITALIC)) + .append(Component.text("§r" + text.substring(0, (i + 1) * maxCharsPerSign - maxCharsPerSign), signColor)) + .append(Component.text(currentChars, signColor, TextDecoration.BOLD)) + .append(Component.text(text.substring(i * maxCharsPerSign + maxCharsPerSign), signColor)) .build()); - boolean success = sign.setItemMeta(meta); - if (success) { - player.getInventory().addItem(sign); - }else { - player.sendMessage("Error giving sign. Could not set item meta."); - } + sign.setItemMeta(meta); + player.getInventory().addItem(sign); } diff --git a/src/main/java/io/github/realMorgon/signTextGenerator/SignTextGenerator.java b/src/main/java/io/github/realMorgon/signTextGenerator/SignTextGenerator.java index 2f88092..6cc4ce5 100644 --- a/src/main/java/io/github/realMorgon/signTextGenerator/SignTextGenerator.java +++ b/src/main/java/io/github/realMorgon/signTextGenerator/SignTextGenerator.java @@ -2,97 +2,28 @@ import co.aikar.commands.PaperCommandManager; import net.kyori.adventure.text.format.NamedTextColor; -import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.plugin.java.JavaPlugin; import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.net.URISyntaxException; import java.net.URL; -import java.nio.file.Files; -import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.List; import java.util.jar.JarEntry; import java.util.jar.JarFile; -import java.util.stream.Stream; public final class SignTextGenerator extends JavaPlugin { + private static SignTextGenerator plugin; + @Override public void onEnable() { + // Plugin startup logic +// TextGeneration.initCharMap(); - List fontEntries = new ArrayList<>(); - URL jarUrl = GiveSignCommand.class.getProtectionDomain().getCodeSource().getLocation(); - try { - File file = new File(jarUrl.toURI()); - try (JarFile jarFile = new JarFile(file)) { - Enumeration entries = jarFile.entries(); - while (entries.hasMoreElements()) { - JarEntry entry = entries.nextElement(); - if (entry.getName().startsWith("fonts/") && !entry.isDirectory()) { - fontEntries.add(entry); - } - } - } - }catch (URISyntaxException | IOException exception){ - getLogger().severe("Failed to read font files from plugin jar. No fonts will be available for use. Plugin will be disabled."); - Bukkit.getPluginManager().disablePlugin(this); - return; - } - - File dataFolder = getDataFolder(); - boolean success = true; - if (!dataFolder.exists()) { - success = dataFolder.mkdirs(); - } - if(!success){ - getLogger().severe("Failed to create data folder for SignTextGenerator plugin. This is a crucial part of the Plugin."); - getLogger().severe("Due to this error the plugin will be disabled. Please fix the issue and restart the server."); - Bukkit.getPluginManager().disablePlugin(this); - return; - } - for(JarEntry font : fontEntries) { - Path dataPath = getDataPath().normalize(); - Path fontPath = getDataPath().resolve(font.getName().substring("fonts/".length())).normalize(); - if(!fontPath.startsWith(dataPath)) { - getLogger().warning("Font " + font.getName() + " is trying to be extracted outside of the plugin data folder. This is a security risk and the file will not be extracted."); - getLogger().warning("This font will not be available for use"); - continue; - } - - if(fontPath.getParent() != null && !Files.exists(fontPath.getParent())) { - try { - Files.createDirectories(fontPath.getParent()); - }catch (IOException e){ - getLogger().warning("Failed to create directories for font file: " + font.getName()); - getLogger().warning("This font will not be available for use"); - continue; - } - } - - if(!Files.exists(fontPath)) { - try (InputStream inputStream = getResource(font.getName()); - OutputStream outputStream = Files.newOutputStream(fontPath)) { - - if (inputStream == null) { - getLogger().warning("Failed to extract font file: " + font.getName() + ". Stream is empty."); - getLogger().warning("This font will not be available for use"); - continue; - } - - inputStream.transferTo(outputStream); - }catch (IOException e){ - getLogger().warning("Failed to extract font file: " + font.getName() + ". Could not create stream."); - getLogger().warning("This font will not be available for use"); - } - } - } + plugin = this; PaperCommandManager manager = new PaperCommandManager(this); @@ -115,28 +46,30 @@ public void onEnable() { return colorCompletions; }); - Collection fontCompletions = new ArrayList<>(); - Path dataPath = getDataPath().normalize(); - try (Stream paths = Files.walk(dataPath)) { - paths.filter(Files::isRegularFile) - .filter(path -> path.getFileName().toString().endsWith(".json")) - .forEach(path -> { - String fileName = dataPath.relativize(path).toString().replace("\\", "/"); - String fontName = fileName.replace(".json", ""); - if (!fontName.isEmpty()) { - fontCompletions.add(fontName); + manager.getCommandCompletions().registerAsyncCompletion("font", _ -> { + List fileNames = new ArrayList<>(); + URL jarUrl = GiveSignCommand.class.getProtectionDomain().getCodeSource().getLocation(); + try { + File jarFile = new File(jarUrl.toURI()); + try (JarFile jar = new JarFile(jarFile)) { + Enumeration entries = jar.entries(); + while (entries.hasMoreElements()) { + JarEntry entry = entries.nextElement(); + if (entry.getName().startsWith("fonts/") && !entry.isDirectory()) { + fileNames.add(entry.getName().substring("fonts/".length())); } - }); - } catch (IOException e) { - getLogger().warning("Failed to read font files from data folder."); - getLogger().warning("No fonts will be available for use. Plugin will be disabled. Please check permissions."); - Bukkit.getPluginManager().disablePlugin(this); - return; - } + } + } + }catch (Exception _){} - getLogger().info("Successfully loaded font files from data folder. Available fonts: " + fontCompletions.toString().substring(1, fontCompletions.toString().length() - 1)); + Collection fontCompletions = new ArrayList<>(); + for (String fileName : fileNames) { + String fontName = fileName.replace(".json", ""); + fontCompletions.add(fontName); + } - manager.getCommandCompletions().registerAsyncCompletion("font", _ -> fontCompletions); + return fontCompletions; + }); manager.registerCommand(new GiveSignCommand()); @@ -147,4 +80,8 @@ public void onDisable() { // Plugin shutdown logic } + public static SignTextGenerator getPlugin() { + return plugin; + } + } diff --git a/src/main/java/io/github/realMorgon/signTextGenerator/TextGeneration.java b/src/main/java/io/github/realMorgon/signTextGenerator/TextGeneration.java index 8002d8c..e847056 100644 --- a/src/main/java/io/github/realMorgon/signTextGenerator/TextGeneration.java +++ b/src/main/java/io/github/realMorgon/signTextGenerator/TextGeneration.java @@ -1,7 +1,6 @@ package io.github.realMorgon.signTextGenerator; import com.fasterxml.jackson.databind.ObjectMapper; -import org.bukkit.plugin.java.JavaPlugin; import java.io.InputStream; import java.util.HashMap; @@ -13,7 +12,7 @@ public static String[] generateText(String text, String font) { InputStream inputStream; try { - inputStream = JavaPlugin.getPlugin(SignTextGenerator.class).getDataPath().normalize().resolve(font + ".json").toUri().toURL().openStream(); + inputStream = SignTextGenerator.getPlugin().getResource("fonts/" + font + ".json"); }catch (Exception IOException) { return null; } @@ -38,10 +37,8 @@ public static String[] generateText(String text, String font) { for (int j = 0; j < 4; j++) { if (lines[j] == null) { lines[j] = charLines[j]; - }else if (jsonLayout.ownLetterSeparation) { - lines[j] += charLines[j]; }else { - lines[j] += " " + charLines[j]; + lines[j] += "" + charLines[j]; } } } @@ -53,6 +50,5 @@ public static String[] generateText(String text, String font) { class JsonLayout { public int maxCharsPerSign; public int maxCharsPerHangingSign; - public boolean ownLetterSeparation; public HashMap charMap; } diff --git a/src/main/resources/fonts/Flitze/2lines.json b/src/main/resources/fonts/Flitze/2lines.json new file mode 100644 index 0000000..6e17b03 --- /dev/null +++ b/src/main/resources/fonts/Flitze/2lines.json @@ -0,0 +1,94 @@ +{ + "maxCharsPerSign" : 7, + "maxCharsPerHangingSign" : 4, + "ownLetterSeparation": true, + "charMap" : { + " ": [""," "," "," "], + "A": ["",".|'|. ","|'''| ",""], + "B": ["","|.) ","|.) ",""], + "C": ["","/'' ","\\.. ",""], + "D": ["","|'\\ ","|./ ",""], + "E": ["","['' ","L. ",""], + "F": ["","|''' ","|' ",""], + "G": ["","/'.. ","\\/ ",""], + "H": ["","|,,| ","| | ",""], + "I": ["","| ","| ",""], + "J": [""," | ","J ",""], + "K": ["","|/ ","|\\ ",""], + "L": ["","| ","L ",""], + "M": ["","|v| ","| | ",""], + "N": ["","|\\| ","| '| ",""], + "O": ["","/\\ ","\\/ ",""], + "P": ["","I.) ","| ",""], + "Q": ["","/\\ ","\\X ",""], + "R": ["","I.) ","|\\ ",""], + "S": ["","('' ","..) ",""], + "T": ["","''|'' "," | ",""], + "U": ["","| | ","|,,| ",""], + "V": ["","|, ,| "," || ",""], + "W": ["","'|, ,|' "," W ",""], + "X": ["","\\/ ","/\\ ",""], + "Y": ["","\\/ "," | ",""], + "Z": ["","'''7 ","ㄥ... ",""], + "Ä": ["°° ",".|'|. ","|'''| ",""], + "Ö": ["°° ","/'\\ ","\\./ ",""], + "Ü": ["°° ","| | ","\\/ ",""], + "a": [""," , ","(.I "," "], + "b": ["","| ","I.) "," "], + "c": [""," ","C "," "], + "d": [""," | ","(.I "," "], + "e": [""," ","e "," "], + "f": ["","f ","| "," "], + "g": [""," ","() ","J "], + "h": ["","| ","|´`i "," "], + "i": ["","° ","| "," "], + "j": ["","° ","| ","J "], + "k": ["","| ","K "," "], + "l": ["","| ","l "," "], + "m": [""," ","|`'´| "," "], + "n": ["","  ","|´`i "," "], + "o": [""," ","() "," "], + "p": [""," ","I.) ","| "], + "q": [""," ","(.I "," | "], + "r": [""," ","I'' "," "], + "s": ["","  ","S "," "], + "t": ["","..|.. "," l "," "], + "u": [""," ","U "," "], + "v": ["","  ","V "," "], + "w": ["","  ","W "," "], + "x": ["","  ","X "," "], + "y": [""," ","\\.| "," J "], + "z": ["","  ","Z ",""], + "ä": ["","°° ","(.I "," "], + "ö": ["","°° ","() "," "], + "ü": ["","°° ","U "," "], + "0": ["","|''| ","|,,| ",""], + "1": ["","´| "," | ",""], + "2": ["","'') ","ㄥ. ",""], + "3": ["","'') ","..) ",""], + "4": ["","ㄥ| "," | ",""], + "5": ["","[' ","...) ",""], + "6": ["","/ ","(.) ",""], + "7": ["","''7 ","/ ",""], + "8": ["","(.) ","(..) ",""], + "9": ["","(.) ","./ ",""], + ".": [""," ","o",""], + ",": [""," ","i ",""], + "-": [""," ","'''' ",""], + "+": ["","_|_ "," || ",""], + "'": ["","i "," ",""], + "&": ["","() ","(x ",""], + "*": ["","x ","  ",""], + "/": [""," / ","/ ",""], + "\\": ["","\\ "," \\ ",""], + "|": ["","| ","| ",""], + ":": ["","o ","o ",""], + ";": ["","o ","|  ",""], + "(": ["","/ ","\\ ",""], + ")": ["","\\ ","/ ",""], + "!": ["","| ","° ",""], + "?": ["","´') ","° ",""], + "~": [""," ","~ ",""], + "_": [""," ","_ "," "] + } +} \ No newline at end of file diff --git a/src/main/resources/fonts/Flitze/2lines_CAPS.json b/src/main/resources/fonts/Flitze/2lines_CAPS.json new file mode 100644 index 0000000..1f355ed --- /dev/null +++ b/src/main/resources/fonts/Flitze/2lines_CAPS.json @@ -0,0 +1,64 @@ +{ + "maxCharsPerSign" : 6, + "maxCharsPerHangingSign" : 3, + "charMap" : { + " ": [""," "," "," "], + "A": ["",".|'|. ","|'''| ",""], + "B": ["","|.) ","|.) ",""], + "C": ["","/'' ","\\.. ",""], + "D": ["","|'\\ ","|./ ",""], + "E": ["","['' ","L. ",""], + "F": ["","|''' ","|' ",""], + "G": ["","/'.. ","\\/ ",""], + "H": ["","|,,| ","| | ",""], + "I": ["","| ","| ",""], + "J": [""," | ","J ",""], + "K": ["","|/ ","|\\ ",""], + "L": ["","| ","L ",""], + "M": ["","|v| ","| | ",""], + "N": ["","|\\| ","| '| ",""], + "O": ["","/\\ ","\\/ ",""], + "P": ["","I.) ","| ",""], + "Q": ["","/\\ ","\\X ",""], + "R": ["","I.) ","|\\ ",""], + "S": ["","('' ","..) ",""], + "T": ["","''|'' "," | ",""], + "U": ["","| | ","|,,| ",""], + "V": ["","|, ,| "," || ",""], + "W": ["","'|, ,|' "," W ",""], + "X": ["","\\/ ","/\\ ",""], + "Y": ["","\\/ "," | ",""], + "Z": ["","'''7 ","ㄥ... ",""], + "Ä": ["°° ",".|'|. ","|'''| ",""], + "Ö": ["°° ","/'\\ ","\\./ ",""], + "Ü": ["°° ","| | ","\\/ ",""], + "0": ["","|''| ","|,,| ",""], + "1": ["","´| "," | ",""], + "2": ["","'') ","ㄥ. ",""], + "3": ["","'') ","..) ",""], + "4": ["","ㄥ| "," | ",""], + "5": ["","[' ","...) ",""], + "6": ["","/ ","(.) ",""], + "7": ["","''7 ","/ ",""], + "8": ["","(.) ","(..) ",""], + "9": ["","(.) ","./ ",""], + ".": [""," ","o",""], + ",": [""," ","i ",""], + "-": [""," ","'''' ",""], + "+": ["","_|_ "," || ",""], + "'": ["","i "," ",""], + "&": ["","() ","(x ",""], + "*": ["","x ","  ",""], + "/": [""," / ","/ ",""], + "\\": ["","\\ "," \\ ",""], + "|": ["","| ","| ",""], + ":": ["","o ","o ",""], + ";": ["","o ","|  ",""], + "(": ["","/ ","\\ ",""], + ")": ["","\\ ","/ ",""], + "!": ["","| ","° ",""], + "?": ["","´') ","° ",""], + "~": [""," ","~ ",""], + "_": [""," ","_ "," "] + } +} \ No newline at end of file diff --git a/src/main/resources/fonts/Flitze/3lines.json b/src/main/resources/fonts/Flitze/3lines.json new file mode 100644 index 0000000..ec9aee2 --- /dev/null +++ b/src/main/resources/fonts/Flitze/3lines.json @@ -0,0 +1,92 @@ +{ + "maxCharsPerSign" : 5, + "maxCharsPerHangingSign" : 3, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/''\\ ","|,,,,,,| ","| | ",""], + "B": ["|'''') ","|''''\\ ","|,,,,/ ",""], + "C": ["/'''' ","| ","\\,,,, ",""], + "D": ["|''''\\ ","| | ","|,,,,/ ",""], + "E": ["|'''''' ","|-- ","|,,,,,, ",""], + "F": ["|'''''' ","|-- ","| ",""], + "G": ["/'''' ","| -, ","\\,,,/ ",""], + "H": ["| | ","|--| ","| | ",""], + "I": ["''|'' "," | ",",,|,, ",""], + "J": [" | "," | ","\\,/ ",""], + "K": ["| / ","K, ","| \\ ",""], + "L": [" | "," | "," |,,,, ",""], + "M": ["|\\ /| ","| `v´ | ","| | ",""], + "N": ["|\\ | ","| \\ | ","| \\| ",""], + "O": ["/''\\ ","| | ","\\,,/ ",""], + "P": ["|'\\ ","|,/ ","| ",""], + "Q": ["/''\\ ","| | ","\\,X, ",""], + "R": ["|''\\ ","|,-' ","| \\ ",""], + "S": [" /''''"," '-, "," ,,,,/",""], + "T": ["''''|'''' "," | "," | ",""], + "U": ["| | ","| | ","\\,,/ ",""], + "V": ["| | ","\\ / "," v ",""], + "W": ["| | ","| ,, | ","|/\\| ",""], + "X": ["\\ / "," X ","/ \\ ",""], + "Y": ["\\ / "," \\/ "," || ",""], + "Z": ["'''''/ "," /  ","/,,,,, ",""], + "Ä": [" ° ° ","/'''\\ ","|''''''| ",""], + "Ö": [" ° ° ","/''\\ ","\\,,/ ",""], + "Ü": [" ° ° ","| | ","\\,,/ ",""], + "a": [" ","/''| ","\\,,I "," "], + "b": ["|  ","|''\\ ","|,,/ "," "], + "c": [" ","/'' ","\\,, "," "], + "d": [" | ","/'| ","\\,| "," "], + "e": [" _ ","ㄥ,) ","\\,,  "," "], + "f": [" ſ''` "," '|'' "," | "," "], + "g": [" ","/'| ","\\.| "," J "], + "h": ["| ","|,-, ","|  | "," "], + "i": [" ° "," |  "," |  "," "], + "j": [" ","° "," | ","J "], + "k": ["|  ","|/ ","|\\ "," "], + "l": ["| ","| ","l,, "," "], + "m": [" ","|´`´`| ","| | "," "], + "n": [" ","|´'`i ","| | "," "], + "o": [" ","/''\\ ","\\,,/ "," "], + "p": [" ","|'''\\ ","|.../ ","| "], + "q": [" ","/'''| ","\\...| "," | "], + "r": [" ","|´''' ","|  "," "], + "s": [" ","(''' ",",,,) "," "], + "t": [",,,|,,, ","  | "," | "," "], + "u": [" ","| | ","\\,,I "," "], + "v": [" ","\\ / "," V "," "], + "w": [" ","\\ ,/ "," 'W "," "], + "x": [" ","\\/ ","/\\ "," "], + "y": ["","| | ","\\,,| "," ,/ "], + "z": [" ","'''/ ","/,,, "," "], + "ä": ["° ° ","/''''| ","\\,,,I ",""], + "ö": ["° ° ","/'''\\ ","\\,,,/ ",""], + "ü": ["° ° ","| | ","\\,,,I ",""], + "0": ["/''\\ ","| | ","\\,,/ ",""], + "1": ["/'|| "," || "," || ",""], + "2": ["/'') "," / ","/,,,, ",""], + "3": ["''''\\ "," -{ ",",,,,/ ",""], + "4": [" / | ","ㄥ,,,,| "," || ",""], + "5": ["|'''' ","''''\\ ",",,,,/ ",""], + "6": ["/'''' ","|'''\\ ","\\,/ ",""], + "7": ["''''/ "," / "," | ",""], + "8": [" ('') ","/''''\\ ","\\,,,,/ ",""], + "9": ["/'\\ ","\\,,,| ",",,,,/ ",""], + ".": [" "," ","() ",""], + ",": [" "," ","I ",""], + "+": [" ,, ","=||= "," '' ",""], + "-": [" ","== "," ",""], + "'": ["I "," "," ",""], + "&": [" (.) ","/''\\, ","\\,,/' ",""], + "*": ["x "," "," ",""], + "/": [" / "," / ","/ ",""], + "\\": ["\\ "," \\ "," \\ ",""], + "|": ["|| ","|| ","|| ",""], + ":": ["° "," ","° ",""], + ";": ["° "," ","I ",""], + "(": ["/ ","| ","\\ ",""], + ")": ["\\ "," | ","/ ",""], + "!": ["|| ","|| ","o ",""], + "?": ["/''\\ "," ,,,/ "," o ",""], + "_": [" "," ","__"," "] + } +} \ No newline at end of file diff --git a/src/main/resources/fonts/Flitze/3lines_CAPS.json b/src/main/resources/fonts/Flitze/3lines_CAPS.json new file mode 100644 index 0000000..1918c73 --- /dev/null +++ b/src/main/resources/fonts/Flitze/3lines_CAPS.json @@ -0,0 +1,63 @@ +{ + "maxCharsPerSign" : 4, + "maxCharsPerHangingSign" : 2, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/''\\ ","|,,,,,,| ","| | ",""], + "B": ["|'''') ","|''''\\ ","|,,,,/ ",""], + "C": ["/'''' ","| ","\\,,,, ",""], + "D": ["|''''\\ ","| | ","|,,,,/ ",""], + "E": ["|'''''' ","|-- ","|,,,,,, ",""], + "F": ["|'''''' ","|-- ","| ",""], + "G": ["/'''' ","| -, ","\\,,,/ ",""], + "H": ["| | ","|--| ","| | ",""], + "I": ["''|'' "," | ",",,|,, ",""], + "J": [" | "," | ","\\,/ ",""], + "K": ["| / ","K, ","| \\ ",""], + "L": [" | "," | "," |,,,, ",""], + "M": ["|\\ /| ","| `v´ | ","| | ",""], + "N": ["|\\ | ","| \\ | ","| \\| ",""], + "O": ["/''\\ ","| | ","\\,,/ ",""], + "P": ["|'\\ ","|,/ ","| ",""], + "Q": ["/''\\ ","| | ","\\,X, ",""], + "R": ["|''\\ ","|,-' ","| \\ ",""], + "S": [" /''''"," '-, "," ,,,,/",""], + "T": ["''''|'''' "," | "," | ",""], + "U": ["| | ","| | ","\\,,/ ",""], + "V": ["| | ","\\ / "," v ",""], + "W": ["| | ","| ,, | ","|/\\| ",""], + "X": ["\\ / "," X ","/ \\ ",""], + "Y": ["\\ / "," \\/ "," || ",""], + "Z": ["'''''/ "," /  ","/,,,,, ",""], + "Ä": [" ° ° ","/'''\\ ","|''''''| ",""], + "Ö": [" ° ° ","/''\\ ","\\,,/ ",""], + "Ü": [" ° ° ","| | ","\\,,/ ",""], + "0": ["/''\\ ","| | ","\\,,/ ",""], + "1": ["/'|| "," || "," || ",""], + "2": ["/'') "," / ","/,,,, ",""], + "3": ["''''\\ "," -{ ",",,,,/ ",""], + "4": [" / | ","ㄥ,,,,| "," || ",""], + "5": ["|'''' ","''''\\ ",",,,,/ ",""], + "6": ["/'''' ","|'''\\ ","\\,/ ",""], + "7": ["''''/ "," / "," | ",""], + "8": [" ('') ","/''''\\ ","\\,,,,/ ",""], + "9": ["/'\\ ","\\,,,| ",",,,,/ ",""], + ".": [" "," ","() ",""], + ",": [" "," ","I ",""], + "+": [" ,, ","=||= "," '' ",""], + "-": [" ","== "," ",""], + "'": ["I "," "," ",""], + "&": [" (.) ","/''\\, ","\\,,/' ",""], + "*": ["x "," "," ",""], + "/": [" / "," / ","/ ",""], + "\\": ["\\ "," \\ "," \\ ",""], + "|": ["|| ","|| ","|| ",""], + ":": ["° "," ","° ",""], + ";": ["° "," ","I ",""], + "(": ["/ ","| ","\\ ",""], + ")": ["\\ "," | ","/ ",""], + "!": ["|| ","|| ","o ",""], + "?": ["/''\\ "," ,,,/ "," o ",""], + "_": [" "," ","__"," "] + } +} \ No newline at end of file diff --git a/src/main/resources/fonts/Flitze/4lines.json b/src/main/resources/fonts/Flitze/4lines.json new file mode 100644 index 0000000..887014f --- /dev/null +++ b/src/main/resources/fonts/Flitze/4lines.json @@ -0,0 +1,96 @@ +{ + "maxCharsPerSign" : 4, + "maxCharsPerHangingSign" : 2, + "ownLetterSeparation": true, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/'''\\ ","|,,,,,,| ","| | ","| | "], + "B": ["|'''\\  ","|,,,/  ","|''''\\ ","|,,,,/ "], + "C": ["/'''' ","| ","| ","\\,,,, "], + "D": ["|''''\\ ","| | ","| | ","|,,,,/ "], + "E": ["|'''''' ","|,,,, ","| ","|,,,,,, "], + "F": ["|'''''' ","|,,,, ","| ","| "], + "G": ["/'''''' ","| ","| '''\\ ","\\,,,,,/ "], + "H": ["| | ","|,,,,,,,,| ","| | ","| | "], + "I": [" ''||'' "," || "," || "," ,,||,, "], + "J": [" | "," | "," | ","\\,,,/ "], + "K": ["| / ","|/ ","|\\ ","| \\ "], + "L": ["| ","| ","| ","|,,,,,, "], + "M": ["|\\ /| ","| `v´ | ","| | ","| | "], + "N": ["|\\ | ","| \\ | ","| \\ | ","| \\| "], + "O": ["/''''\\ ","| | ","| | ","\\,,,,/ "], + "P": ["|'''\\ ","|,,,/ ","| ","| "], + "Q": ["/''''\\ ","| | ","| | ","\\,,,X, "], + "R": ["|'''\\ ","|,,,/ ","|'\\ ","| \\ "], + "S": ["/'''''' ","\\,,,, "," \\ "," ,,,,,,/ "], + "T": ["''''''||'''''' "," || "," || "," || "], + "U": ["| | ","| | ","| | ","\\,,,,/ "], + "V": ["| | ","|, ,| ","'|, ,|' "," '|,,|' "], + "W": ["| | ","| | ","| /\\ | ","|/ \\| "], + "X": ["\\ / "," \\/ "," /\\ ","/ \\ "], + "Y": ["\\ / "," \\/ "," || "," || "], + "Z": ["''''''''/ "," / "," / ","/,,,,,,,, "], + "Ä": ["° ° ","/'''\\ ","|,,,,,,,| ","| | "], + "Ö": ["° ° ","/''''\\ ","| | ","\\,,,,/ "], + "Ü": ["° ° ","| | ","| | ","\\,,,,/ "], + "a": [" "," ","/''''| ","\\,,,I "], + "b": ["|  ","|  ","|''''\\ ","|,,,,/ "], + "c": [" "," ","/'''' ","\\,,,, "], + "d": ["  | ","  | ","/''''| ","\\,,,,| "], + "e": [" "," _ ","ㄥ,,,) ","\\,,,,  "], + "f": [" ſ''` ",",,|,,,, "," | "," | "], + "g": ["  ","/'''\\ ","\\,,,J "," ,,,,/ "], + "h": ["| ","| ","|´''`i ","|  | "], + "i": [" ","° ","|  ","|  "], + "j": ["  "," ° "," | "," J "], + "k": ["| ","| / ","|K ","| \\ "], + "l": ["| ","| ","| ","l,, "], + "m": [" "," ","|´`´`| ","| | "], + "n": [" "," ","|´'`i ","| | "], + "o": [" "," ","/'''\\ ","\\,,,/ "], + "p": [" ","|'''\\ ","|,,,/ ","| "], + "q": [" ","/'''| ","\\,,,| "," | "], + "r": [" "," ","|´''' ","|  "], + "s": [" "," ","(''' ",",,,) "], + "t": [",,|,,, "," |  "," |  "," l.. "], + "u": [" "," ","| | ","\\,,,I "], + "v": [" "," ","\\ / "," V "], + "w": [" "," ","\\ / "," '|^|' "], + "x": [" "," ","\\/ ","/\\ "], + "y": [" ",", , ","\\,,,| "," ,,,/ "], + "z": [" "," ","'''/ ","/,,, "], + "ä": [" ","° ° ","/''''| ","\\,,,,I "], + "ö": [" ","° ° ","/'''\\ ","\\,,,/ "], + "ü": [" ","° °  ","| | ","\\,,,I "], + "0": ["/''\\ ","| | ","| | ","\\,,/ "], + "1": ["/'|| "," || "," || "," || "], + "2": ["/''\\ "," / "," / ","/,,,,,, "], + "3": ["'''''\\ "," ,,/ "," \\ ",",,,,,/ "], + "4": [" / | ","ㄥ,,,,| "," || "," || "], + "5": ["|'''''' ","|,,,, "," \\ ",",,,,,,/ "], + "6": ["/'''''' ","| ","|'''''\\ ","\\,,,/ "], + "7": ["''''''/ "," / "," / "," | "], + "8": [" /''\\ "," \\ / ","/'''''\\ ","\\,,,,,/ "], + "9": ["/'''\\ ","\\,,,,,| "," | ",",,,,,,/ "], + ".": [" "," "," ","() "], + ",": [" "," "," ","I "], + "-": [" ",",,,,,, ","'''''' "," "], + "+": [" ",",,,,||,,,, ","''''||'''' "," '' "], + "'": ["I "," "," "," "], + "&": [" /''\\ "," \\ / ","/'''''\\, ","\\,,,,,/` "], + "*": ["x "," "," "," "], + "/": [" / "," / "," / ","/ "], + "\\": ["\\ "," \\ "," \\ "," \\ "], + "|": ["|| ","|| ","|| ","|| "], + ":": [" ","() "," ","() "], + ";": [" ","() "," "," I "], + "(": ["/ ","| ","| ","\\ "], + ")": ["\\ "," | "," | ","/ "], + "!": ["|| ","|| ","'' ","o "], + "?": ["/''\\ "," ,,,/ "," '' "," o "], + "~": [" ",",,,,, ,","' '''''"," "], + "_": [" "," "," ","__"] + } +} + + diff --git a/src/main/resources/fonts/Flitze/4lines_CAPS.json b/src/main/resources/fonts/Flitze/4lines_CAPS.json new file mode 100644 index 0000000..1462232 --- /dev/null +++ b/src/main/resources/fonts/Flitze/4lines_CAPS.json @@ -0,0 +1,66 @@ +{ + "maxCharsPerSign" : 3, + "maxCharsPerHangingSign" : 2, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/'''\\ ","|,,,,,,| ","| | ","| | "], + "B": ["|'''\\  ","|,,,/  ","|''''\\ ","|,,,,/ "], + "C": ["/'''' ","| ","| ","\\,,,, "], + "D": ["|''''\\ ","| | ","| | ","|,,,,/ "], + "E": ["|'''''' ","|,,,, ","| ","|,,,,,, "], + "F": ["|'''''' ","|,,,, ","| ","| "], + "G": ["/'''''' ","| ","| '''\\ ","\\,,,,,/ "], + "H": ["| | ","|,,,,,,,,| ","| | ","| | "], + "I": [" ''||'' "," || "," || "," ,,||,, "], + "J": [" | "," | "," | ","\\,,,/ "], + "K": ["| / ","|/ ","|\\ ","| \\ "], + "L": ["| ","| ","| ","|,,,,,, "], + "M": ["|\\ /| ","| `v´ | ","| | ","| | "], + "N": ["|\\ | ","| \\ | ","| \\ | ","| \\| "], + "O": ["/''''\\ ","| | ","| | ","\\,,,,/ "], + "P": ["|'''\\ ","|,,,/ ","| ","| "], + "Q": ["/''''\\ ","| | ","| | ","\\,,,X, "], + "R": ["|'''\\ ","|,,,/ ","|'\\ ","| \\ "], + "S": ["/'''''' ","\\,,,, "," \\ "," ,,,,,,/ "], + "T": ["''''''||'''''' "," || "," || "," || "], + "U": ["| | ","| | ","| | ","\\,,,,/ "], + "V": ["| | ","|, ,| ","'|, ,|' "," '|,,|' "], + "W": ["| | ","| | ","| /\\ | ","|/ \\| "], + "X": ["\\ / "," \\/ "," /\\ ","/ \\ "], + "Y": ["\\ / "," \\/ "," || "," || "], + "Z": ["''''''''/ "," / "," / ","/,,,,,,,, "], + "Ä": ["° ° ","/'''\\ ","|,,,,,,,| ","| | "], + "Ö": ["° ° ","/''''\\ ","| | ","\\,,,,/ "], + "Ü": ["° ° ","| | ","| | ","\\,,,,/ "], + "0": ["/''\\ ","| | ","| | ","\\,,/ "], + "1": ["/'|| "," || "," || "," || "], + "2": ["/''\\ "," / "," / ","/,,,,,, "], + "3": ["'''''\\ "," ,,/ "," \\ ",",,,,,/ "], + "4": [" / | ","ㄥ,,,,| "," || "," || "], + "5": ["|'''''' ","|,,,, "," \\ ",",,,,,,/ "], + "6": ["/'''''' ","| ","|'''''\\ ","\\,,,/ "], + "7": ["''''''/ "," / "," / "," | "], + "8": [" /''\\ "," \\ / ","/'''''\\ ","\\,,,,,/ "], + "9": ["/'''\\ ","\\,,,,,| "," | ",",,,,,,/ "], + ".": [" "," "," ","() "], + ",": [" "," "," ","I "], + "-": [" ",",,,,,, ","'''''' "," "], + "+": [" ",",,,,||,,,, ","''''||'''' "," '' "], + "'": ["I "," "," "," "], + "&": [" /''\\ "," \\ / ","/'''''\\, ","\\,,,,,/` "], + "*": ["x "," "," "," "], + "/": [" / "," / "," / ","/ "], + "\\": ["\\ "," \\ "," \\ "," \\ "], + "|": ["|| ","|| ","|| ","|| "], + ":": [" ","() "," ","() "], + ";": [" ","() "," "," I "], + "(": ["/ ","| ","| ","\\ "], + ")": ["\\ "," | "," | ","/ "], + "!": ["|| ","|| ","'' ","o "], + "?": ["/''\\ "," ,,,/ "," '' "," o "], + "~": [" ",",,,,, ,","' '''''"," "], + "_": [" "," "," ","__"] + } +} + + diff --git a/src/main/resources/fonts/Flitze/Flitze4lines.json b/src/main/resources/fonts/Flitze/Flitze4lines.json deleted file mode 100644 index ec1b7b5..0000000 --- a/src/main/resources/fonts/Flitze/Flitze4lines.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "maxCharsPerSign" : 3, - "maxCharsPerHangingSign" : 2, - "ownLetterSeparation": true, - "charMap" : { - " ": [" "," "," "," "], - "A": ["/'''\\ ","|,,,,,,| ","| | ","| | "], - "B": ["|'''\\  ","|,,,/  ","|''''\\ ","|,,,,/ "], - "C": ["/'''' ","| ","| ","\\,,,, "], - "D": ["|''''\\ ","| | ","| | ","|,,,,/ "], - "E": ["|'''''' ","|,,,, ","| ","|,,,,,, "], - "F": ["|'''''' ","|,,,, ","| ","| "], - "G": ["/'''''' ","| ","| '''\\ ","\\,,,,,/ "], - "H": ["| | ","|,,,,,,,,| ","| | ","| | "], - "I": ["''||'' "," || "," || ",",,||,, "], - "J": [" | "," | "," | ","\\,,,/ "], - "K": ["| / ","|/ ","|\\ ","| \\ "], - "L": ["| ","| ","| ","|,,,,,, "], - "M": ["|\\ /| ","| `v´ | ","| | ","| | "], - "N": ["|\\ | ","| \\ | ","| \\ | ","| \\| "], - "O": ["/''''\\ ","| | ","| | ","\\,,,,/ "], - "P": ["|'''\\ ","|,,,/ ","| ","| "], - "Q": ["/''''\\ ","| | ","| | ","\\,,,X, "], - "R": ["|'''\\ ","|,,,/ ","|'\\ ","| \\ "], - "S": ["/'''''' ","\\,,,, "," \\ "," ,,,,,,/ "], - "T": ["''''''||'''''' "," || "," || "," || "], - "U": ["| | ","| | ","| | ","\\,,,,/ "], - "V": ["| | ","|, ,| ","'|, ,|' "," '|,,|' "], - "W": ["| | ","| | ","| /\\ | ","|/ \\| "], - "X": ["\\ / "," \\/ "," /\\ ","/ \\ "], - "Y": ["\\ / "," \\/ "," || "," || "], - "Z": ["''''''''/ "," / "," / ","/,,,,,,,, "], - "Ä": ["° ° ","/'''\\ ","|,,,,,,,| ","| | "], - "Ö": ["° ° ","/''''\\ ","| | ","\\,,,,/ "], - "Ü": ["° ° ","| | ","| | ","\\,,,,/ "], - "a": [" "," ","/''''| ","\\,,,,I "], - "b": ["|  ","|  ","|''''\\ ","|,,,,/ "], - "c": [" "," ","/'''' ","\\,,,, "], - "d": ["  | ","  | ","/''''| ","\\,,,,| "], - "e": [" "," _ ","ㄥ,,,) ","\\,,,,  "], - "f": [" ſ''` ",",,|,,,, "," | "," | "], - "g": ["  ","/'''\\ ","\\,,,J "," ,,,,/ "], - "h": ["| ","| ","|´''`i ","|  | "], - "i": [" ","° ","|  ","|  "], - "j": ["  "," ° "," | "," J "], - "k": ["| ","| / ","|K ","| \\ "], - "l": ["| ","| ","| ","l,, "], - "m": [" "," ","|´`´`| ","| | "], - "n": [" "," ","|´'`i ","| | "], - "o": [" "," ","/'''\\ ","\\,,,/ "], - "p": [" ","|'''\\ ","|,,,/ ","| "], - "q": [" ","/'''| ","\\,,,| "," | "], - "r": [" "," ","|´''' ","|  "], - "s": [" "," ","(''' ",",,,) "], - "t": [",,|,,, "," |  "," |  "," l.. "], - "u": [" "," ","| | ","\\,,,I "], - "v": [" "," ","\\ / "," \\/ "], - "w": [" "," ","\\ / "," \\^/  "], - "x": [" "," ","\\/ ","/\\ "], - "y": [" ",", , ","\\,,,| "," ,,,/ "], - "z": [" "," ","'''/ ","/,,, "], - "ä": [" ","° ° ","/''''| ","\\,,,,I "], - "ö": [" ","° ° ","/'''\\ ","\\,,,/ "], - "ü": [" ","° °  ","| | ","\\,,,I "], - "0": ["/''\\ ","| | ","| | ","\\,,/ "], - "1": ["/'|| "," || "," || "," || "], - "2": ["/''\\ "," / "," / ","/,,,,,, "], - "3": ["'''''\\ "," ,,/ "," \\ ",",,,,,/ "], - "4": [" / | ","ㄥ,,,,| "," || "," || "], - "5": ["|'''''' ","|,,,, "," \\ ",",,,,,,/ "], - "6": ["/'''''' ","| ","|'''''\\ ","\\,,,/ "], - "7": ["''''''/ "," / "," / "," | "], - "8": [" /''\\ "," \\ / ","/'''''\\ ","\\,,,,,/ "], - "9": ["/'''\\ ","\\,,,,,| "," | ",",,,,,,/ "], - ".": [" "," "," ","() "], - ",": [" "," "," ","I "], - "-": [" ",",,,,,, ","'''''' "," "], - "+": [" ",",,,,||,,,, ","''''||'''' "," '' "], - "'": ["I "," "," "," "], - "&": [" /''\\ "," \\ / ","/'''''\\, ","\\,,,,,/` "], - "*": ["x "," "," "," "], - "/": [" / "," / "," / ","/ "], - "\\": ["\\ "," \\ "," \\ "," \\ "], - "|": ["|| ","|| ","|| ","|| "], - ":": [" ","() "," ","() "], - ";": [" ","() "," "," I "], - "(": ["/ ","| ","| ","\\ "], - ")": ["\\ "," | "," | ","/ "], - "!": ["|| ","|| ","'' ","o "], - "?": ["/''\\ "," ,,,/ "," '' "," o "], - "~": [" ",",,,,, ,","' '''''"," "] - } -} - - diff --git a/src/main/resources/fonts/Flitze/Flitze2lines.json b/src/main/resources/fonts/Flitze2lines.json similarity index 90% rename from src/main/resources/fonts/Flitze/Flitze2lines.json rename to src/main/resources/fonts/Flitze2lines.json index 7f58f46..2c0758b 100644 --- a/src/main/resources/fonts/Flitze/Flitze2lines.json +++ b/src/main/resources/fonts/Flitze2lines.json @@ -1,7 +1,6 @@ { - "maxCharsPerSign" : 6, + "maxCharsPerSign" : 8, "maxCharsPerHangingSign" : 4, - "ownLetterSeparation": true, "charMap" : { " ": [""," "," ",""], "A": ["",".|'|. ","|'''| ",""], @@ -10,13 +9,13 @@ "D": ["","|'\\ ","|./ ",""], "E": ["","['' ","L. ",""], "F": ["","|''' ","|' ",""], - "G": ["","/'.. ","\/ ",""], + "G": ["","/'.. ","\\/ ",""], "H": ["","|,,| ","| | ",""], "I": ["","| ","| ",""], "J": [""," | ","J ",""], "K": ["","|/ ","|\\ ",""], "L": ["","| ","L ",""], - "M": ["","|\/| ","| | ",""], + "M": ["","|\\/| ","| | ",""], "N": ["","|\\ | ","| \\| ",""], "O": ["","/'\\ ","\\./ ",""], "P": ["","I.) ","| ",""], @@ -24,15 +23,15 @@ "R": ["","I.) ","|\\ ",""], "S": ["","('' ","..) ",""], "T": ["","''|'' "," | ",""], - "U": ["","| | ","\/ ",""], + "U": ["","| | ","\\/ ",""], "V": ["","'|, ,|' "," |,,| ",""], "W": ["","'|, ,|' "," W  ",""], - "X": ["","\/ ","/\\ ",""], - "Y": ["","\/ "," | ",""], + "X": ["","\\/ ","/\\ ",""], + "Y": ["","\\/ "," | ",""], "Z": ["","'''7 ","ㄥ... ",""], "Ä": ["°° ",".|'|. ","|'''| ",""], "Ö": ["°° ","/'\\ ","\\./ ",""], - "Ü": ["°° ","| | ","\/ ",""], + "Ü": ["°° ","| | ","\\/ ",""], "a": [""," , ","(.I ",""], "b": ["","| ","I.) ",""], "c": [""," ","C ",""], diff --git a/src/main/resources/fonts/Flitze2lines_CAPS.json b/src/main/resources/fonts/Flitze2lines_CAPS.json new file mode 100644 index 0000000..3c80736 --- /dev/null +++ b/src/main/resources/fonts/Flitze2lines_CAPS.json @@ -0,0 +1,63 @@ +{ + "maxCharsPerSign" : 6, + "maxCharsPerHangingSign" : 3, + "charMap" : { + " ": [""," "," ",""], + "A": ["",".|'|. ","|'''| ",""], + "B": ["","|.) ","|.) ",""], + "C": ["","/'' ","\\.. ",""], + "D": ["","|'\\ ","|./ ",""], + "E": ["","['' ","L. ",""], + "F": ["","|''' ","|' ",""], + "G": ["","/'.. ","\\/ ",""], + "H": ["","|,,| ","| | ",""], + "I": ["","| ","| ",""], + "J": [""," | ","J ",""], + "K": ["","|/ ","|\\ ",""], + "L": ["","| ","L ",""], + "M": ["","|\\/| ","| | ",""], + "N": ["","|\\ | ","| \\| ",""], + "O": ["","/'\\ ","\\./ ",""], + "P": ["","I.) ","| ",""], + "Q": ["","/\\ ","\\X ",""], + "R": ["","I.) ","|\\ ",""], + "S": ["","('' ","..) ",""], + "T": ["","''|'' "," | ",""], + "U": ["","| | ","\\/ ",""], + "V": ["","'|, ,|' "," |,,| ",""], + "W": ["","'|, ,|' "," W  ",""], + "X": ["","\\/ ","/\\ ",""], + "Y": ["","\\/ "," | ",""], + "Z": ["","'''7 ","ㄥ... ",""], + "Ä": ["°° ",".|'|. ","|'''| ",""], + "Ö": ["°° ","/'\\ ","\\./ ",""], + "Ü": ["°° ","| | ","\\/ ",""], + "0": ["","|''| ","|,,| ",""], + "1": ["","´| "," | ",""], + "2": ["","'') ","ㄥ. ",""], + "3": ["","'') ","..) ",""], + "4": ["","ㄥ| "," | ",""], + "5": ["","[' ","...) ",""], + "6": ["","/ ","(.) ",""], + "7": ["","''7 ","/ ",""], + "8": ["","(.) ","(..) ",""], + "9": ["","(.) ","./ ",""], + ".": [""," ","o",""], + ",": [""," ","i ",""], + "-": [""," ","'''' ",""], + "+": ["","_|_ "," || ",""], + "'": ["","i "," ",""], + "&": ["","() ","(x ",""], + "*": ["","x ","  ",""], + "/": [""," / ","/ ",""], + "\\": ["","\\ "," \\ ",""], + "|": ["","| ","| ",""], + ":": ["","o ","o ",""], + ";": ["","o ","|  ",""], + "(": ["","/ ","\\ ",""], + ")": ["","\\ ","/ ",""], + "!": ["","| ","° ",""], + "?": ["","´') ","° ",""], + "~": [""," ","~ ",""] + } +} \ No newline at end of file diff --git a/src/main/resources/fonts/Flitze/Flitze3lines.json b/src/main/resources/fonts/Flitze3lines.json similarity index 91% rename from src/main/resources/fonts/Flitze/Flitze3lines.json rename to src/main/resources/fonts/Flitze3lines.json index f6c857b..b3ad577 100644 --- a/src/main/resources/fonts/Flitze/Flitze3lines.json +++ b/src/main/resources/fonts/Flitze3lines.json @@ -1,7 +1,6 @@ { - "maxCharsPerSign" : 4, - "maxCharsPerHangingSign" : 2, - "ownLetterSeparation": true, + "maxCharsPerSign" : 5, + "maxCharsPerHangingSign" : 3, "charMap" : { " ": [" "," "," "," "], "A": ["/'''\\ ","|,,,,,,| ","| | ",""], @@ -33,11 +32,11 @@ "Ä": [" ° ° ","/'''\\ ","|''''''| ",""], "Ö": [" ° ° ","/''\\ ","\\,,/ ",""], "Ü": [" ° ° ","| | ","\\,,/ ",""], - "a": [" ","/''''| ","\\,,,,I ",""], - "b": ["|  ","|''''\\ ","|,,,,/ ",""], - "c": [" ","/'''' ","\\,,,, ",""], - "d": ["  | ","/'''| ","\\,,,| ",""], - "e": [" _ ","ㄥ,,,) ","\\,,,,  ",""], + "a": [" ","/''| ","\\,,I ",""], + "b": ["|  ","|''\\ ","|,,/ ",""], + "c": [" ","/'' ","\\,, ",""], + "d": ["  | ","/'| ","\\,| ",""], + "e": [" _ ","ㄥ,) ","\\,,  ",""], "f": [" ſ''` ","'|''  "," | ",""], "g": [" ","/'| ","\\.| "," J "], "h": ["| ","|,-,  ","|  | ",""], diff --git a/src/main/resources/fonts/Flitze3lines_CAPS.json b/src/main/resources/fonts/Flitze3lines_CAPS.json new file mode 100644 index 0000000..2d3304a --- /dev/null +++ b/src/main/resources/fonts/Flitze3lines_CAPS.json @@ -0,0 +1,62 @@ +{ + "maxCharsPerSign" : 4, + "maxCharsPerHangingSign" : 2, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/'''\\ ","|,,,,,,| ","| | ",""], + "B": ["|'''')  ","|''''\\ ","|,,,,/ ",""], + "C": ["/'''' ","| ","\\,,,, ",""], + "D": ["|''''\\ ","| | ","|,,,,/ ",""], + "E": ["|'''''' ","|-- ","|,,,,,, ",""], + "F": ["|'''''' ","|-- ","| ",""], + "G": ["/'''' ","| -, ","\\,,,/ ",""], + "H": ["| | ","|--| ","| | ",""], + "I": ["''|'' "," | ",",,|,, ",""], + "J": [" | "," | ","\\,/ ",""], + "K": ["| / ","K, ","| \\ ",""], + "L": ["| ","| ","|,,,, ",""], + "M": ["|\\ /| ","| `v´ | ","| | ",""], + "N": ["|\\ | ","| \\ | ","| \\| ",""], + "O": ["/''\\ ","| | ","\\,,/ ",""], + "P": ["|'\\ ","|,/ ","| ",""], + "Q": ["/''\\ ","| | ","\\,X, ",""], + "R": ["|''\\ ","|,-' ","| \\ ",""], + "S": [" /''''"," '-, "," ,,,,/",""], + "T": ["''''|'''' "," | "," | ",""], + "U": ["| | ","| | ","\\,,/ ",""], + "V": ["| | ","\\ / "," v ",""], + "W": ["| | ","| ,, | ","|/\\| ",""], + "X": ["\\ / "," X ","/ \\ ",""], + "Y": ["\\ / "," \\/ "," || ",""], + "Z": ["'''''/ "," /  ","/,,,,, ",""], + "Ä": [" ° ° ","/'''\\ ","|''''''| ",""], + "Ö": [" ° ° ","/''\\ ","\\,,/ ",""], + "Ü": [" ° ° ","| | ","\\,,/ ",""], + "0": ["/''\\ ","| | ","\\,,/ ",""], + "1": ["/'|| "," || "," || ",""], + "2": ["/'') "," / ","/,,,, ",""], + "3": ["''''\\ "," -{ ",",,,,/ ",""], + "4": [" / | ","ㄥ,,,,| "," || ",""], + "5": ["|'''' ","''''\\ ",",,,,/ ",""], + "6": ["/'''' ","|'''\\ ","\\,/ ",""], + "7": ["''''/ "," / "," | ",""], + "8": [" ('') ","/''''\\ ","\\,,,,/ ",""], + "9": ["/'\\ ","\\,,,| ",",,,,/ ",""], + ".": [" "," ","() ",""], + ",": [" "," ","I ",""], + "+": [" ,, ","=||= "," '' ",""], + "-": [" ","== "," ",""], + "'": ["I "," "," ",""], + "&": [" (.) ","/''\\, ","\\,,/' ",""], + "*": ["x "," "," ",""], + "/": [" / "," / ","/ ",""], + "\\": ["\\ "," \\ "," \\ ",""], + "|": ["|| ","|| ","|| ",""], + ":": ["° "," ","° ",""], + ";": ["° "," ","I ",""], + "(": ["/ ","| ","\\ ",""], + ")": ["\\ "," | ","/ ",""], + "!": ["|| ","|| ","o ",""], + "?": ["/''\\ "," ,,,/ "," o ",""] + } +} \ No newline at end of file diff --git a/src/main/resources/fonts/Flitze4lines.json b/src/main/resources/fonts/Flitze4lines.json new file mode 100644 index 0000000..4bd0d90 --- /dev/null +++ b/src/main/resources/fonts/Flitze4lines.json @@ -0,0 +1,94 @@ +{ + "maxCharsPerSign" : 4, + "maxCharsPerHangingSign" : 2, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/'''\\ ","|,,,,,,| ","| | ","| | "], + "B": ["|'''\\  ","|,,,/  ","|''''\\ ","|,,,,/ "], + "C": ["/'''' ","| ","| ","\\,,,, "], + "D": ["|''''\\ ","| | ","| | ","|,,,,/ "], + "E": ["|'''''' ","|,,,, ","| ","|,,,,,, "], + "F": ["|'''''' ","|,,,, ","| ","| "], + "G": ["/'''''' ","| ","| '''\\ ","\\,,,,,/ "], + "H": ["| | ","|,,,,,,,,| ","| | ","| | "], + "I": ["''||'' "," || "," || ",",,||,, "], + "J": [" | "," | "," | ","\\,,,/ "], + "K": ["| / ","|/ ","|\\ ","| \\ "], + "L": ["| ","| ","| ","|,,,,,, "], + "M": ["|\\ /| ","| `v´ | ","| | ","| | "], + "N": ["|\\ | ","| \\ | ","| \\ | ","| \\| "], + "O": ["/''''\\ ","| | ","| | ","\\,,,,/ "], + "P": ["|'''\\ ","|,,,/ ","| ","| "], + "Q": ["/''''\\ ","| | ","| | ","\\,,,X, "], + "R": ["|'''\\ ","|,,,/ ","|'\\ ","| \\ "], + "S": ["/'''''' ","\\,,,, "," \\ "," ,,,,,,/ "], + "T": ["''''''||'''''' "," || "," || "," || "], + "U": ["| | ","| | ","| | ","\\,,,,/ "], + "V": ["| | ","|, ,| ","'|, ,|' "," '|,,|' "], + "W": ["| | ","| | ","| /\\ | ","|/ \\| "], + "X": ["\\ / "," \\/ "," /\\ ","/ \\ "], + "Y": ["\\ / "," \\/ "," || "," || "], + "Z": ["''''''''/ "," / "," / ","/,,,,,,,, "], + "Ä": ["° ° ","/'''\\ ","|,,,,,,,| ","| | "], + "Ö": ["° ° ","/''''\\ ","| | ","\\,,,,/ "], + "Ü": ["° ° ","| | ","| | ","\\,,,,/ "], + "a": [" "," ","/''''| ","\\,,,,I "], + "b": ["|  ","|  ","|''''\\ ","|,,,,/ "], + "c": [" "," ","/'''' ","\\,,,, "], + "d": ["  | ","  | ","/''''| ","\\,,,,| "], + "e": [" "," _ ","ㄥ,,,) ","\\,,,,  "], + "f": [" ſ''` ",",,|,,,, "," | "," | "], + "g": ["  ","/'''\\ ","\\,,,J "," ,,,,/ "], + "h": ["| ","| ","|´''`i ","|  | "], + "i": [" ","° ","|  ","|  "], + "j": ["  "," ° "," | "," J "], + "k": ["| ","| / ","|K ","| \\ "], + "l": ["| ","| ","| ","l,, "], + "m": [" "," ","|´`´`| ","| | "], + "n": [" "," ","|´'`i ","| | "], + "o": [" "," ","/'''\\ ","\\,,,/ "], + "p": [" ","|'''\\ ","|,,,/ ","| "], + "q": [" ","/'''| ","\\,,,| "," | "], + "r": [" "," ","|´''' ","|  "], + "s": [" "," ","(''' ",",,,) "], + "t": [",,|,,, "," |  "," |  "," l.. "], + "u": [" "," ","| | ","\\,,,I "], + "v": [" "," ","\\ / "," \\/ "], + "w": [" "," ","\\ / "," \\^/ "], + "x": [" "," ","\\/ ","/\\ "], + "y": [" ",", , ","\\,,,| "," ,,,/ "], + "z": [" "," ","'''/ ","/,,, "], + "ä": [" ","° ° ","/''''| ","\\,,,,I "], + "ö": [" ","° ° ","/'''\\ ","\\,,,/ "], + "ü": [" ","° °  ","| | ","\\,,,I "], + "0": ["/''\\ ","| | ","| | ","\\,,/ "], + "1": ["/'|| "," || "," || "," || "], + "2": ["/''\\ "," / "," / ","/,,,,,, "], + "3": ["'''''\\ "," ,,/ "," \\ ",",,,,,/ "], + "4": [" / | ","ㄥ,,,,| "," || "," || "], + "5": ["|'''''' ","|,,,, "," \\ ",",,,,,,/ "], + "6": ["/'''''' ","| ","|'''''\\ ","\\,,,/ "], + "7": ["''''''/ "," / "," / "," | "], + "8": [" /''\\ "," \\ / ","/'''''\\ ","\\,,,,,/ "], + "9": ["/'''\\ ","\\,,,,,| "," | ",",,,,,,/ "], + ".": [" "," "," ","() "], + ",": [" "," "," ","I "], + "-": [" ",",,,,,, ","'''''' "," "], + "+": [" ",",,,,||,,,, ","''''||'''' "," '' "], + "'": ["I "," "," "," "], + "&": [" /''\\ "," \\ / ","/'''''\\, ","\\,,,,,/` "], + "*": ["x "," "," "," "], + "/": [" / "," / "," / ","/ "], + "\\": ["\\ "," \\ "," \\ "," \\ "], + "|": ["|| ","|| ","|| ","|| "], + ":": [" ","() "," ","() "], + ";": [" ","() "," "," I "], + "(": ["/ ","| ","| ","\\ "], + ")": ["\\ "," | "," | ","/ "], + "!": ["|| ","|| ","'' ","o "], + "?": ["/''\\ "," ,,,/ "," '' "," o "], + "~": [" ",",,,,, ,","' '''''"," "] + } +} + + diff --git a/src/main/resources/fonts/Flitze4lines_CAPS.json b/src/main/resources/fonts/Flitze4lines_CAPS.json new file mode 100644 index 0000000..e91cab6 --- /dev/null +++ b/src/main/resources/fonts/Flitze4lines_CAPS.json @@ -0,0 +1,65 @@ +{ + "maxCharsPerSign" : 3, + "maxCharsPerHangingSign" : 2, + "charMap" : { + " ": [" "," "," "," "], + "A": ["/'''\\ ","|,,,,,,| ","| | ","| | "], + "B": ["|'''\\  ","|,,,/  ","|''''\\ ","|,,,,/ "], + "C": ["/'''' ","| ","| ","\\,,,, "], + "D": ["|''''\\ ","| | ","| | ","|,,,,/ "], + "E": ["|'''''' ","|,,,, ","| ","|,,,,,, "], + "F": ["|'''''' ","|,,,, ","| ","| "], + "G": ["/'''''' ","| ","| '''\\ ","\\,,,,,/ "], + "H": ["| | ","|,,,,,,,,| ","| | ","| | "], + "I": ["''||'' "," || "," || ",",,||,, "], + "J": [" | "," | "," | ","\\,,,/ "], + "K": ["| / ","|/ ","|\\ ","| \\ "], + "L": ["| ","| ","| ","|,,,,,, "], + "M": ["|\\ /| ","| `v´ | ","| | ","| | "], + "N": ["|\\ | ","| \\ | ","| \\ | ","| \\| "], + "O": ["/''''\\ ","| | ","| | ","\\,,,,/ "], + "P": ["|'''\\ ","|,,,/ ","| ","| "], + "Q": ["/''''\\ ","| | ","| | ","\\,,,X, "], + "R": ["|'''\\ ","|,,,/ ","|'\\ ","| \\ "], + "S": ["/'''''' ","\\,,,, "," \\ "," ,,,,,,/ "], + "T": ["''''''||'''''' "," || "," || "," || "], + "U": ["| | ","| | ","| | ","\\,,,,/ "], + "V": ["| | ","|, ,| ","'|, ,|' "," '|,,|' "], + "W": ["| | ","| | ","| /\\ | ","|/ \\| "], + "X": ["\\ / "," \\/ "," /\\ ","/ \\ "], + "Y": ["\\ / "," \\/ "," || "," || "], + "Z": ["''''''''/ "," / "," / ","/,,,,,,,, "], + "Ä": ["° ° ","/'''\\ ","|,,,,,,,| ","| | "], + "Ö": ["° ° ","/''''\\ ","| | ","\\,,,,/ "], + "Ü": ["° ° ","| | ","| | ","\\,,,,/ "], + "0": ["/''\\ ","| | ","| | ","\\,,/ "], + "1": ["/'|| "," || "," || "," || "], + "2": ["/''\\ "," / "," / ","/,,,,,, "], + "3": ["'''''\\ "," ,,/ "," \\ ",",,,,,/ "], + "4": [" / | ","ㄥ,,,,| "," || "," || "], + "5": ["|'''''' ","|,,,, "," \\ ",",,,,,,/ "], + "6": ["/'''''' ","| ","|'''''\\ ","\\,,,/ "], + "7": ["''''''/ "," / "," / "," | "], + "8": [" /''\\ "," \\ / ","/'''''\\ ","\\,,,,,/ "], + "9": ["/'''\\ ","\\,,,,,| "," | ",",,,,,,/ "], + ".": [" "," "," ","() "], + ",": [" "," "," ","I "], + "-": [" ",",,,,,, ","'''''' "," "], + "+": [" ",",,,,||,,,, ","''''||'''' "," '' "], + "'": ["I "," "," "," "], + "&": [" /''\\ "," \\ / ","/'''''\\, ","\\,,,,,/` "], + "*": ["x "," "," "," "], + "/": [" / "," / "," / ","/ "], + "\\": ["\\ "," \\ "," \\ "," \\ "], + "|": ["|| ","|| ","|| ","|| "], + ":": [" ","() "," ","() "], + ";": [" ","() "," "," I "], + "(": ["/ ","| ","| ","\\ "], + ")": ["\\ "," | "," | ","/ "], + "!": ["|| ","|| ","'' ","o "], + "?": ["/''\\ "," ,,,/ "," '' "," o "], + "~": [" ",",,,,, ,","' '''''"," "] + } +} + + diff --git a/src/main/resources/fonts/blocks.json b/src/main/resources/fonts/blocks.json index 48bde71..def5131 100644 --- a/src/main/resources/fonts/blocks.json +++ b/src/main/resources/fonts/blocks.json @@ -1,7 +1,6 @@ { "maxCharsPerSign" : 2, "maxCharsPerHangingSign" : 1, - "ownLetterSeparation": false, "charMap" : { " ": [" ", " ", " ", " "], "a": ["████","█ █", "████", "█ █"], diff --git a/src/main/resources/fonts/signletters.json b/src/main/resources/fonts/signletters.json index edff190..fd07836 100644 --- a/src/main/resources/fonts/signletters.json +++ b/src/main/resources/fonts/signletters.json @@ -1,7 +1,6 @@ { "maxCharsPerSign" : 3, "maxCharsPerHangingSign" : 2, - "ownLetterSeparation": false, "charMap" : { " ": [" "," "," "," "], "A": ["◢▊█▊◣","█ ݀█","███","█ ݀█"], @@ -38,7 +37,7 @@ "f": [" ◢▊▏▊◣"," ▏█▏ ","▀█▀"," ▏█▏ "], "g": [" ܸ ","◢▊▀◢▊","◥▊▄█","▄▄▊◤"], "h": ["█▎ ","█▀▊◣","█ ▏█","█ ▏█"], - "i": [" ▏▀▏ "," ▏█▏ "," ▏█▏ "," ▏█▏ "], + "i": [" ▏▀▏ "," ▏█▏ "," ▏█▏ "," ▏█▏ "], "j": [" ▎▀"," ▎█"," ▎█","◥▊▄▊◤"], "k": ["█▎ ","█▎ ","█◢▊◤ ","█◥▊◣ "], "l": [" █▎ "," █▎ "," █▎ "," █▎ "],