From bf72cd1dab24fcb5ca844f6d3bf4d75509370883 Mon Sep 17 00:00:00 2001 From: Joacim Breiler Date: Sun, 9 Jun 2024 08:31:22 +0200 Subject: [PATCH] Moved clipart config to JSON files (#2541) --- .../gui/clipart/AbstractClipartSource.java | 33 + .../gui/clipart/FontClipartSource.java | 89 +++ .../gui/clipart/PreviewListPanel.java | 120 ++-- .../gui/clipart/model/FontMapping.java | 63 ++ .../gui/clipart/model/FontMappingClipart.java | 50 ++ .../gui/clipart/sources/BuDingbatsSource.java | 126 ---- .../gui/clipart/sources/ChristmasSource.java | 164 ----- .../gui/clipart/sources/Corners2Source.java | 87 --- .../clipart/sources/CreepyCrawliesSource.java | 112 ---- .../sources/DarriansFrames1Source.java | 100 --- .../sources/DarriansFrames2Source.java | 100 --- .../sources/DestinysBordersSource.java | 85 --- .../gui/clipart/sources/EasterArtSource.java | 123 ---- .../gui/clipart/sources/EfonSource.java | 118 ---- .../gui/clipart/sources/EvilzSource.java | 139 ---- .../gui/clipart/sources/FredokaSource.java | 107 --- .../gui/clipart/sources/GardenSource.java | 119 ---- .../gui/clipart/sources/HouseIconsSource.java | 137 ---- .../clipart/sources/KomikaBubblesSource.java | 96 --- .../gui/clipart/sources/LogoSkate1Source.java | 133 ---- .../gui/clipart/sources/LogoSkate2Source.java | 124 ---- .../gui/clipart/sources/MythicalSource.java | 126 ---- .../gui/clipart/sources/SealifeSource.java | 99 --- .../gui/clipart/sources/SugarComaSource.java | 100 --- .../gui/clipart/sources/ToolSource.java | 119 ---- .../gui/clipart/sources/TransdingsSource.java | 143 ---- .../gui/clipart/sources/TravelconsSource.java | 133 ---- .../gui/clipart/sources/TropicanaSource.java | 101 --- .../sources/VintageCorners23Source.java | 82 --- .../VintageDecorativeSigns2Source.java | 137 ---- .../clipart/sources/WorldOfScifiSource.java | 125 ---- .../gui/clipart/sources/WwfreebieSource.java | 139 ---- .../gui/clipart/sources/XmasSource.java | 112 ---- .../gui/clipart/sources/YourSignSource.java | 99 --- .../resources/fonts/bu-dingbats/mapping.json | 373 +++++++++++ .../resources/fonts/christmas/mapping.json | 632 ++++++++++++++++++ .../resources/fonts/corners2/mapping.json | 93 +++ .../fonts/creepy-crawlies-font/mapping.json | 261 ++++++++ .../fonts/darrians-frames-font/mapping1.json | 184 +++++ .../fonts/darrians-frames-font/mapping2.json | 184 +++++ .../fonts/destinys-borders/mapping.json | 79 +++ .../resources/fonts/easterart/mapping.json | 352 ++++++++++ .../main/resources/fonts/efon/mapping.json | 310 +++++++++ .../main/resources/fonts/evilz/mapping.json | 457 +++++++++++++ .../resources/fonts/fredoka-one/mapping.json | 233 +++++++ .../main/resources/fonts/garden/mapping.json | 310 +++++++++ .../resources/fonts/house-icons/mapping.json | 443 ++++++++++++ .../fonts/komika-bubbles/mapping.json | 149 +++++ .../resources/fonts/logoskate-1/mapping.json | 415 ++++++++++++ .../resources/fonts/logoskate-2/mapping.json | 352 ++++++++++ .../resources/fonts/mythical/mapping.json | 366 ++++++++++ .../main/resources/fonts/sealife/mapping.json | 177 +++++ .../fonts/sugar-coma-font/mapping.json | 184 +++++ .../main/resources/fonts/tool/mapping.json | 310 +++++++++ .../resources/fonts/transdings/mapping.json | 485 ++++++++++++++ .../resources/fonts/travelcons/mapping.json | 415 ++++++++++++ .../resources/fonts/tropicana/mapping.json | 191 ++++++ .../mapping.json | 51 ++ .../mapping.json | 443 ++++++++++++ .../fonts/world-of-sci-fi-font/mapping.json | 359 ++++++++++ .../resources/fonts/wwfreebie/mapping.json | 464 +++++++++++++ .../main/resources/fonts/xmas/mapping.json | 261 ++++++++ .../resources/fonts/your-sign/mapping.json | 177 +++++ 63 files changed, 8997 insertions(+), 3453 deletions(-) create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/AbstractClipartSource.java create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/FontClipartSource.java create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMapping.java create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMappingClipart.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/BuDingbatsSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ChristmasSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/Corners2Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/CreepyCrawliesSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames1Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames2Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DestinysBordersSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EasterArtSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EfonSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EvilzSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/FredokaSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/GardenSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/HouseIconsSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/KomikaBubblesSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate1Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate2Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/MythicalSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SealifeSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SugarComaSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ToolSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TransdingsSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TravelconsSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TropicanaSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageCorners23Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageDecorativeSigns2Source.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WorldOfScifiSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WwfreebieSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/XmasSource.java delete mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/YourSignSource.java create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/bu-dingbats/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/christmas/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/corners2/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/creepy-crawlies-font/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping1.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping2.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/destinys-borders/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/easterart/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/efon/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/evilz/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/fredoka-one/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/garden/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/house-icons/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/komika-bubbles/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-1/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-2/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/mythical/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sealife/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sugar-coma-font/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tool/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/transdings/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/travelcons/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tropicana/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-corners-23-font/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-signs-2-font/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/world-of-sci-fi-font/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/wwfreebie/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/xmas/mapping.json create mode 100644 ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/your-sign/mapping.json diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/AbstractClipartSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/AbstractClipartSource.java new file mode 100644 index 0000000000..c821a5635b --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/AbstractClipartSource.java @@ -0,0 +1,33 @@ +/* + Copyright 2024 Will Winder + + This file is part of Universal Gcode Sender (UGS). + + UGS is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + UGS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with UGS. If not, see . + */ +package com.willwinder.ugs.nbp.designer.gui.clipart; + +import java.util.List; + +public abstract class AbstractClipartSource implements ClipartSource { + public abstract List getCliparts(); + + @Override + public List getCliparts(Category category) { + return getCliparts() + .stream() + .filter(clipart -> clipart.getCategory() == category || category == Category.ALL) + .toList(); + } +} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/FontClipartSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/FontClipartSource.java new file mode 100644 index 0000000000..53bbe38ec9 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/FontClipartSource.java @@ -0,0 +1,89 @@ +/* + Copyright 2022-2024 Will Winder + + This file is part of Universal Gcode Sender (UGS). + + UGS is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + UGS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with UGS. If not, see . + */ +package com.willwinder.ugs.nbp.designer.gui.clipart; + +import com.google.gson.Gson; +import com.willwinder.ugs.nbp.designer.gui.clipart.model.FontMapping; +import org.apache.commons.io.IOUtils; + +import java.awt.Font; +import java.awt.FontFormatException; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * @author Joacim Breiler + */ +public class FontClipartSource extends AbstractClipartSource { + private final List cliparts = new ArrayList<>(); + private final FontMapping fontMapping; + + public FontClipartSource(String mappingFile) { + fontMapping = loadFontMapping(mappingFile); + Font font = loadFont(); + fontMapping.getCliparts() + .forEach(clipart -> clipart.getCategories().forEach(category -> + cliparts.add(new FontClipart(clipart.getName(), category, font, clipart.getText(), this)))); + } + + private FontMapping loadFontMapping(String mappingFile) { + Gson gson = new Gson(); + try { + return gson.fromJson(IOUtils.toString(Objects.requireNonNull(FontClipartSource.class.getResourceAsStream(mappingFile)), StandardCharsets.UTF_8), FontMapping.class); + } catch (IOException e) { + throw new ClipartSourceException("Could not load clipart font mapping file", e); + } + } + + private Font loadFont() { + try { + return Font.createFont(Font.TRUETYPE_FONT, Objects.requireNonNull(FontClipartSource.class.getResourceAsStream(fontMapping.getFont()))).deriveFont(FONT_SIZE); + } catch (IOException | FontFormatException e) { + throw new ClipartSourceException("Could not load font", e); + } + } + + @Override + public String getName() { + return fontMapping.getName(); + } + + @Override + public String getCredits() { + return fontMapping.getCredits(); + } + + @Override + public String getUrl() { + return fontMapping.getUrl(); + } + + @Override + public List getCliparts() { + return cliparts; + } + + @Override + public String getLicense() { + return fontMapping.getLicense(); + } +} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/PreviewListPanel.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/PreviewListPanel.java index 9c2035ca5f..3995fb7667 100644 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/PreviewListPanel.java +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/PreviewListPanel.java @@ -1,5 +1,5 @@ /* - Copyright 2022 Will Winder + Copyright 2022-2024 Will Winder This file is part of Universal Gcode Sender (UGS). @@ -18,35 +18,6 @@ This file is part of Universal Gcode Sender (UGS). */ package com.willwinder.ugs.nbp.designer.gui.clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.BuDingbatsSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.ChristmasSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.Corners2Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.CreepyCrawliesSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.DarriansFrames1Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.DarriansFrames2Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.DestinysBordersSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.EasterArtSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.EfonSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.EvilzSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.FredokaSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.GardenSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.HouseIconsSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.KomikaBubblesSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.LogoSkate1Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.LogoSkate2Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.MythicalSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.SealifeSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.SugarComaSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.ToolSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.TransdingsSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.TravelconsSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.TropicanaSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.VintageCorners23Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.VintageDecorativeSigns2Source; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.WorldOfScifiSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.WwfreebieSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.XmasSource; -import com.willwinder.ugs.nbp.designer.gui.clipart.sources.YourSignSource; import net.miginfocom.swing.MigLayout; import javax.swing.JPanel; @@ -57,6 +28,7 @@ This file is part of Universal Gcode Sender (UGS). import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; +import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.Optional; @@ -71,39 +43,49 @@ public class PreviewListPanel extends JPanel { private final JScrollPane scrollPane; private transient Clipart selectedClipart; + private static final List FONT_SOURCES = Arrays.asList( + "/fonts/christmas/mapping.json", + "/fonts/your-sign/mapping.json", + "/fonts/xmas/mapping.json", + "/fonts/bu-dingbats/mapping.json", + "/fonts/darrians-frames-font/mapping1.json", + "/fonts/darrians-frames-font/mapping2.json", + "/fonts/creepy-crawlies-font/mapping.json", + "/fonts/house-icons/mapping.json", + "/fonts/travelcons/mapping.json", + "/fonts/tool/mapping.json", + "/fonts/garden/mapping.json", + "/fonts/sugar-coma-font/mapping.json", + "/fonts/corners2/mapping.json", + "/fonts/wwfreebie/mapping.json", + "/fonts/destinys-borders/mapping.json", + "/fonts/vintage-decorative-corners-23-font/mapping.json", + "/fonts/vintage-decorative-signs-2-font/mapping.json", + "/fonts/world-of-sci-fi-font/mapping.json", + "/fonts/tropicana/mapping.json", + "/fonts/transdings/mapping.json", + "/fonts/sealife/mapping.json", + "/fonts/logoskate-1/mapping.json", + "/fonts/logoskate-2/mapping.json", + "/fonts/mythical/mapping.json", + "/fonts/komika-bubbles/mapping.json", + "/fonts/fredoka-one/mapping.json", + "/fonts/evilz/mapping.json", + "/fonts/easterart/mapping.json", + "/fonts/efon/mapping.json" + ); + public PreviewListPanel(ActionListener selectAction) { this.selectAction = selectAction; - buttonsPanel.setLayout(new MigLayout("fill, insets 5, wrap 4, top, left", "", "")); - sources.add(new Corners2Source()); - sources.add(new ChristmasSource()); - sources.add(new DestinysBordersSource()); - sources.add(new EasterArtSource()); - sources.add(new EfonSource()); - sources.add(new EvilzSource()); - sources.add(new FredokaSource()); - sources.add(new MythicalSource()); - sources.add(new KomikaBubblesSource()); - sources.add(new LogoSkate1Source()); - sources.add(new LogoSkate2Source()); - sources.add(new SealifeSource()); - sources.add(new TransdingsSource()); - sources.add(new TropicanaSource()); - sources.add(new YourSignSource()); - sources.add(new WwfreebieSource()); - sources.add(new XmasSource()); - sources.add(new BuDingbatsSource()); - sources.add(new DarriansFrames1Source()); - sources.add(new DarriansFrames2Source()); - sources.add(new WorldOfScifiSource()); - sources.add(new VintageDecorativeSigns2Source()); - sources.add(new VintageCorners23Source()); - sources.add(new CreepyCrawliesSource()); - sources.add(new SugarComaSource()); - sources.add(new HouseIconsSource()); - sources.add(new TravelconsSource()); - sources.add(new ToolSource()); - sources.add(new GardenSource()); + buttonsPanel.setLayout(new MigLayout("fill, insets 10, wrap 4, top, left", "", "")); + FONT_SOURCES.forEach(s -> { + try { + sources.add(new FontClipartSource(s)); + } catch (Exception e) { + throw new ClipartSourceException("Could not load source " + s, e); + } + }); setLayout(new BorderLayout()); scrollPane = new JScrollPane(buttonsPanel, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); @@ -118,19 +100,21 @@ public void setCategory(Category category) { sources.stream() .flatMap(source -> source.getCliparts(category).stream()) .sorted(Comparator.comparing(clipart -> clipart.getName().toLowerCase())) - .forEach(clipart -> { - ClipartButton roundedPanel = new ClipartButton(clipart, tooltip); - roundedPanel.addClickListener(() -> { - selectedClipart = clipart; - selectAction.actionPerformed(new ActionEvent(roundedPanel, 0, "selected_clipart")); - }); - buttonsPanel.add(roundedPanel, "grow, w 100:100:400"); - }); + .forEach(clipart -> createAndAddButton(tooltip, clipart)); buttonsPanel.revalidate(); buttonsPanel.repaint(); SwingUtilities.invokeLater(() -> scrollPane.getVerticalScrollBar().setValue(0)); } + private void createAndAddButton(ClipartTooltip tooltip, Clipart clipart) { + ClipartButton roundedPanel = new ClipartButton(clipart, tooltip); + roundedPanel.addClickListener(() -> { + selectedClipart = clipart; + selectAction.actionPerformed(new ActionEvent(roundedPanel, 0, "selected_clipart")); + }); + buttonsPanel.add(roundedPanel, "grow, w 100:100:400"); + } + public Optional getSelectedClipart() { return Optional.ofNullable(selectedClipart); } diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMapping.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMapping.java new file mode 100644 index 0000000000..1748a73e22 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMapping.java @@ -0,0 +1,63 @@ +/* + Copyright 2024 Will Winder + + This file is part of Universal Gcode Sender (UGS). + + UGS is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + UGS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with UGS. If not, see . + */ +package com.willwinder.ugs.nbp.designer.gui.clipart.model; + +import java.util.Collections; +import java.util.List; + +/** + * A model for deserialize font configuration JSON + * + * @author Joacim Breiler + */ +public class FontMapping { + private String font; + private String name; + private String credits; + private String url; + private String license; + private List cliparts; + + public List getCliparts() { + if (cliparts == null) { + return Collections.emptyList(); + } + return cliparts; + } + + public String getFont() { + return font; + } + + public String getName() { + return name; + } + + public String getCredits() { + return credits; + } + + public String getUrl() { + return url; + } + + public String getLicense() { + return license; + } +} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMappingClipart.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMappingClipart.java new file mode 100644 index 0000000000..c2be601bed --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/model/FontMappingClipart.java @@ -0,0 +1,50 @@ +/* + Copyright 2024 Will Winder + + This file is part of Universal Gcode Sender (UGS). + + UGS is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + UGS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with UGS. If not, see . + */ +package com.willwinder.ugs.nbp.designer.gui.clipart.model; + +import com.willwinder.ugs.nbp.designer.gui.clipart.Category; +import org.apache.commons.lang3.StringUtils; + +import java.util.List; + +/** + * A model for deserialize font configuration JSON + * + * @author Joacim Breiler + */ +public class FontMappingClipart { + private String name; + private List categories; + private String text; + + public String getName() { + return StringUtils.defaultString(name, "Unknown"); + } + + public List getCategories() { + if (categories == null || categories.isEmpty()) { + return List.of(Category.UNSORTED); + } + return categories; + } + + public String getText() { + return StringUtils.defaultString(text, "?"); + } +} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/BuDingbatsSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/BuDingbatsSource.java deleted file mode 100644 index ae3ed63b98..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/BuDingbatsSource.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class BuDingbatsSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public BuDingbatsSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, BuDingbatsSource.class.getResourceAsStream("/fonts/bu-dingbats/BuDingbatsSansPurpose-njmY.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Yin Yang", Category.SIGNS_AND_SYMBOLS, font, "\uF030", this)); - cliparts.add(new FontClipart("Wage slave", Category.UNSORTED, font, "\uF031", this)); - cliparts.add(new FontClipart("Gas mask", Category.SIGNS_AND_SYMBOLS, font, "\uF032", this)); - cliparts.add(new FontClipart("Recycle", Category.SIGNS_AND_SYMBOLS, font, "\uF033", this)); - cliparts.add(new FontClipart("Grin", Category.UNSORTED, font, "\uF034", this)); - cliparts.add(new FontClipart("Medical", Category.SCIENCE, font, "\uF038", this)); - cliparts.add(new FontClipart("Radioactive", Category.SCIENCE, font, "\uF039", this)); - cliparts.add(new FontClipart("Anonymous", Category.SIGNS_AND_SYMBOLS, font, "\uF041", this)); - cliparts.add(new FontClipart("Betty", Category.PEOPLE_AND_CHARACTERS, font, "\uF042", this)); - cliparts.add(new FontClipart("Groucho Marx", Category.PEOPLE_AND_CHARACTERS, font, "\uF043", this)); - cliparts.add(new FontClipart("Edgar Allen Poe", Category.PEOPLE_AND_CHARACTERS, font, "\uF044", this)); - cliparts.add(new FontClipart("Einstein", Category.PEOPLE_AND_CHARACTERS, font, "\uF045", this)); - cliparts.add(new FontClipart("Frankensteins monster", Category.PEOPLE_AND_CHARACTERS, font, "\uF046", this)); - cliparts.add(new FontClipart("Sheep evolution", Category.UNSORTED, font, "\uF047", this)); - cliparts.add(new FontClipart("Sherlock Holmes", Category.PEOPLE_AND_CHARACTERS, font, "\uF048", this)); - cliparts.add(new FontClipart("Uncle Sam", Category.PEOPLE_AND_CHARACTERS, font, "\uF049", this)); - cliparts.add(new FontClipart("Abraham Lincoln", Category.PEOPLE_AND_CHARACTERS, font, "\uF04A", this)); - cliparts.add(new FontClipart("TV Zombie", Category.UNSORTED, font, "\uF04B", this)); - cliparts.add(new FontClipart("Mona Lisa", Category.PEOPLE_AND_CHARACTERS, font, "\uF04C", this)); - cliparts.add(new FontClipart("Groucho Marx", Category.PEOPLE_AND_CHARACTERS, font, "\uF04D", this)); - cliparts.add(new FontClipart("Popeye", Category.PEOPLE_AND_CHARACTERS, font, "\uF04E", this)); - cliparts.add(new FontClipart("Grin 2", Category.UNSORTED, font, "\uF04F", this)); - cliparts.add(new FontClipart("Pipe", Category.UNSORTED, font, "\uF050", this)); - cliparts.add(new FontClipart("Elderly", Category.PEOPLE_AND_CHARACTERS, font, "\uF051", this)); - cliparts.add(new FontClipart("Duck frame", Category.DECORATIONS, font, "\uF052", this)); - cliparts.add(new FontClipart("Sun", Category.DECORATIONS, font, "\uF053", this)); - cliparts.add(new FontClipart("Shoe", Category.UNSORTED, font, "\uF071", this)); - cliparts.add(new FontClipart("Shoe print", Category.UNSORTED, font, "\uF072", this)); - cliparts.add(new FontClipart("Cobra", Category.ANIMALS, font, "\uF073", this)); - cliparts.add(new FontClipart("Briefcase with money", Category.UNSORTED, font, "\uF061", this)); - cliparts.add(new FontClipart("Bio hazard 1", Category.SCIENCE, font, "\uF062", this)); - cliparts.add(new FontClipart("Bio hazard 2", Category.SCIENCE, font, "\uF063", this)); - cliparts.add(new FontClipart("Diamond bloody", Category.UNSORTED, font, "\uF064", this)); - cliparts.add(new FontClipart("Laundry", Category.UNSORTED, font, "\uF065", this)); - cliparts.add(new FontClipart("Crayons", Category.UNSORTED, font, "\uF066", this)); - cliparts.add(new FontClipart("Radioactive 2", Category.SCIENCE, font, "\uF067", this)); - cliparts.add(new FontClipart("Wolf", Category.ANIMALS, font, "\uF068", this)); - cliparts.add(new FontClipart("Medical 2", Category.SCIENCE, font, "\uF069", this)); - cliparts.add(new FontClipart("Lamp Lava", Category.UNSORTED, font, "\uF06A", this)); - cliparts.add(new FontClipart("Medical 3", Category.SCIENCE, font, "\uF06B", this)); - cliparts.add(new FontClipart("Fish", Category.ANIMALS, font, "\uF06C", this)); - cliparts.add(new FontClipart("Impossible", Category.UNSORTED, font, "\uF06D", this)); - cliparts.add(new FontClipart("Bombs", Category.UNSORTED, font, "\uF06E", this)); - cliparts.add(new FontClipart("Yin Yang 2", Category.SIGNS_AND_SYMBOLS, font, "\uF06F", this)); - cliparts.add(new FontClipart("Shoe", Category.UNSORTED, font, "\uF070", this)); - cliparts.add(new FontClipart("TV", Category.ELECTRONICS, font, "\uF074", this)); - cliparts.add(new FontClipart("Robot", Category.ELECTRONICS, font, "\uF075", this)); - cliparts.add(new FontClipart("Body", Category.PEOPLE_AND_CHARACTERS, font, "\uF076", this)); - cliparts.add(new FontClipart("Cleopatra", Category.PEOPLE_AND_CHARACTERS, font, "\uF078", this)); - cliparts.add(new FontClipart("Meditating", Category.PEOPLE_AND_CHARACTERS, font, "\uF079", this)); - cliparts.add(new FontClipart("Turtle", Category.ANIMALS, font, "\uF07A", this)); - } - - @Override - public String getName() { - return "BuDingbats"; - } - - @Override - public String getCredits() { - return "Bosil unique fonts"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/bu-dingbats-sans-purpose-font-f17451"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ChristmasSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ChristmasSource.java deleted file mode 100644 index 0e5ef008e5..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ChristmasSource.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class ChristmasSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public ChristmasSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, ChristmasSource.class.getResourceAsStream("/fonts/christmas/ChristmasRegular.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Lamp 1", Category.HOLIDAY, font, "#", this)); - cliparts.add(new FontClipart("Lamp 2", Category.HOLIDAY, font, "%", this)); - cliparts.add(new FontClipart("Lamp 3", Category.HOLIDAY, font, "@", this)); - cliparts.add(new FontClipart("Star 1", Category.HOLIDAY, font, "*", this)); - cliparts.add(new FontClipart("Star 2", Category.HOLIDAY, font, "+", this)); - cliparts.add(new FontClipart("Star shooting", Category.HOLIDAY, font, "_", this)); - cliparts.add(new FontClipart("Christmas bell 1", Category.HOLIDAY, font, "[", this)); - cliparts.add(new FontClipart("Christmas bell 2", Category.HOLIDAY, font, "\\", this)); - cliparts.add(new FontClipart("Christmas bell 3", Category.HOLIDAY, font, "]", this)); - cliparts.add(new FontClipart("Candle 1", Category.HOLIDAY, font, "!", this)); - cliparts.add(new FontClipart("Candle 2", Category.HOLIDAY, font, "^", this)); - cliparts.add(new FontClipart("Candle 5", Category.HOLIDAY, font, "$", this)); - cliparts.add(new FontClipart("Candle christmas cake", Category.HOLIDAY, font, "`", this)); - cliparts.add(new FontClipart("Candles", Category.HOLIDAY, font, "&", this)); - cliparts.add(new FontClipart("Cross 1", Category.SIGNS_AND_SYMBOLS, font, "-", this)); - cliparts.add(new FontClipart("Cross 2", Category.SIGNS_AND_SYMBOLS, font, "=", this)); - cliparts.add(new FontClipart("Cross 3", Category.SIGNS_AND_SYMBOLS, font, "1", this)); - cliparts.add(new FontClipart("Cross 4", Category.SIGNS_AND_SYMBOLS, font, "2", this)); - cliparts.add(new FontClipart("Cross 5", Category.SIGNS_AND_SYMBOLS, font, "3", this)); - cliparts.add(new FontClipart("Cross 6", Category.SIGNS_AND_SYMBOLS, font, "4", this)); - cliparts.add(new FontClipart("Cross 7", Category.SIGNS_AND_SYMBOLS, font, "5", this)); - cliparts.add(new FontClipart("Cross 8", Category.SIGNS_AND_SYMBOLS, font, "6", this)); - cliparts.add(new FontClipart("Cross 9", Category.SIGNS_AND_SYMBOLS, font, "7", this)); - cliparts.add(new FontClipart("Cross 10", Category.SIGNS_AND_SYMBOLS, font, "8", this)); - cliparts.add(new FontClipart("Cross 11", Category.SIGNS_AND_SYMBOLS, font, "9", this)); - cliparts.add(new FontClipart("Christmas ball 1", Category.HOLIDAY, font, ":", this)); - cliparts.add(new FontClipart("Christmas ball 2", Category.HOLIDAY, font, "\"", this)); - cliparts.add(new FontClipart("Christmas ball 3", Category.HOLIDAY, font, "A", this)); - cliparts.add(new FontClipart("Christmas ball 4", Category.HOLIDAY, font, "D", this)); - cliparts.add(new FontClipart("Christmas ball 5", Category.HOLIDAY, font, "F", this)); - cliparts.add(new FontClipart("Christmas ball 6", Category.HOLIDAY, font, "G", this)); - cliparts.add(new FontClipart("Christmas ball 7", Category.HOLIDAY, font, "H", this)); - cliparts.add(new FontClipart("Christmas ball 8", Category.HOLIDAY, font, "K", this)); - cliparts.add(new FontClipart("Christmas ball 9", Category.HOLIDAY, font, "S", this)); - cliparts.add(new FontClipart("Christmas ball 10", Category.HOLIDAY, font, "L", this)); - cliparts.add(new FontClipart("Christmas ball star", Category.HOLIDAY, font, "J", this)); - cliparts.add(new FontClipart("Present 1", Category.HOLIDAY, font, "{", this)); - cliparts.add(new FontClipart("Present 2", Category.HOLIDAY, font, "}", this)); - cliparts.add(new FontClipart("Present 3", Category.HOLIDAY, font, "I", this)); - cliparts.add(new FontClipart("Present 4", Category.HOLIDAY, font, "O", this)); - cliparts.add(new FontClipart("Present 5", Category.HOLIDAY, font, "P", this)); - cliparts.add(new FontClipart("Present 6", Category.HOLIDAY, font, "U", this)); - cliparts.add(new FontClipart("Snow man 1", Category.HOLIDAY, font, "<", this)); - cliparts.add(new FontClipart("Snow man 2", Category.HOLIDAY, font, ">", this)); - cliparts.add(new FontClipart("Snow man 3", Category.HOLIDAY, font, "?", this)); - cliparts.add(new FontClipart("Snow man 4", Category.HOLIDAY, font, "B", this)); - cliparts.add(new FontClipart("Snow man 5", Category.HOLIDAY, font, "C", this)); - cliparts.add(new FontClipart("Snow man 6", Category.HOLIDAY, font, "M", this)); - cliparts.add(new FontClipart("Snow man 7", Category.HOLIDAY, font, "N", this)); - cliparts.add(new FontClipart("Christmas sock 1", Category.HOLIDAY, font, "Q", this)); - cliparts.add(new FontClipart("Christmas sock 2", Category.HOLIDAY, font, "R", this)); - cliparts.add(new FontClipart("Christmas sock 3", Category.HOLIDAY, font, "T", this)); - cliparts.add(new FontClipart("Christmas sock 4", Category.HOLIDAY, font, "W", this)); - cliparts.add(new FontClipart("Christmas sock 5", Category.HOLIDAY, font, "Y", this)); - cliparts.add(new FontClipart("Christmas sock 6", Category.HOLIDAY, font, "E", this)); - cliparts.add(new FontClipart("Snow man candy cane", Category.HOLIDAY, font, "V", this)); - cliparts.add(new FontClipart("Snow man 8", Category.HOLIDAY, font, "X", this)); - cliparts.add(new FontClipart("Snow man 9", Category.HOLIDAY, font, "Z", this)); - cliparts.add(new FontClipart("Christmas bell 3", Category.HOLIDAY, font, "e", this)); - cliparts.add(new FontClipart("Christmas bell 4", Category.HOLIDAY, font, "o", this)); - cliparts.add(new FontClipart("Christmas bell 5", Category.HOLIDAY, font, "p", this)); - cliparts.add(new FontClipart("Christmas bell 6", Category.HOLIDAY, font, "q", this)); - cliparts.add(new FontClipart("Christmas bell 7", Category.HOLIDAY, font, "r", this)); - cliparts.add(new FontClipart("Christmas bell 8", Category.HOLIDAY, font, "t", this)); - cliparts.add(new FontClipart("Christmas bell 9", Category.HOLIDAY, font, "u", this)); - cliparts.add(new FontClipart("Christmas bell 10", Category.HOLIDAY, font, "w", this)); - cliparts.add(new FontClipart("Christmas bell 11", Category.HOLIDAY, font, "y", this)); - cliparts.add(new FontClipart("Christmas bell 12", Category.HOLIDAY, font, "i", this)); - cliparts.add(new FontClipart("Christmas leaves 1", Category.HOLIDAY, font, ";", this)); - cliparts.add(new FontClipart("Christmas leaves 2", Category.HOLIDAY, font, "'", this)); - cliparts.add(new FontClipart("Christmas leaves 3", Category.HOLIDAY, font, "a", this)); - cliparts.add(new FontClipart("Christmas leaves 4", Category.HOLIDAY, font, "d", this)); - cliparts.add(new FontClipart("Christmas leaves 5", Category.HOLIDAY, font, "f", this)); - cliparts.add(new FontClipart("Christmas leaves 6", Category.HOLIDAY, font, "g", this)); - cliparts.add(new FontClipart("Christmas leaves 7", Category.HOLIDAY, font, "h", this)); - cliparts.add(new FontClipart("Christmas leaves 8", Category.HOLIDAY, font, "j", this)); - cliparts.add(new FontClipart("Christmas leaves 9", Category.HOLIDAY, font, "k", this)); - cliparts.add(new FontClipart("Christmas leaves 10", Category.HOLIDAY, font, "l", this)); - cliparts.add(new FontClipart("Christmas leaves 11", Category.HOLIDAY, font, "s", this)); - cliparts.add(new FontClipart("Christmas tree simple", Category.HOLIDAY, font, "b", this)); - cliparts.add(new FontClipart("Christmas tree 1", Category.HOLIDAY, font, ",", this)); - cliparts.add(new FontClipart("Christmas tree 2", Category.HOLIDAY, font, ".", this)); - cliparts.add(new FontClipart("Christmas tree 3", Category.HOLIDAY, font, "/", this)); - cliparts.add(new FontClipart("Christmas tree 4", Category.HOLIDAY, font, "c", this)); - cliparts.add(new FontClipart("Christmas tree 5", Category.HOLIDAY, font, "m", this)); - cliparts.add(new FontClipart("Christmas tree 6", Category.HOLIDAY, font, "n", this)); - cliparts.add(new FontClipart("Christmas tree 7", Category.HOLIDAY, font, "v", this)); - cliparts.add(new FontClipart("Christmas tree 8", Category.HOLIDAY, font, "x", this)); - cliparts.add(new FontClipart("Christmas tree 9", Category.HOLIDAY, font, "z", this)); - } - - @Override - public String getName() { - return "Christmas"; - } - - @Override - public String getCredits() { - return "Vivek Kambli"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/christmas-font-f4808"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/Corners2Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/Corners2Source.java deleted file mode 100644 index 55b2a57c9a..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/Corners2Source.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class Corners2Source extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public Corners2Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, Corners2Source.class.getResourceAsStream("/fonts/corners2/Corners2.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Corner", Category.DECORATIONS, font, "A", this)); - cliparts.add(new FontClipart("Corner with flowers 1", Category.DECORATIONS, font, "B", this)); - cliparts.add(new FontClipart("Corner with fireworks", Category.DECORATIONS, font, "C", this)); - cliparts.add(new FontClipart("Corner with star and banner", Category.DECORATIONS, font, "D", this)); - cliparts.add(new FontClipart("Corner with star and leaves", Category.DECORATIONS, font, "E", this)); - cliparts.add(new FontClipart("Corner with eagle", Category.DECORATIONS, font, "F", this)); - cliparts.add(new FontClipart("Corner with bells", Category.DECORATIONS, font, "G", this)); - cliparts.add(new FontClipart("Banner with heart and petals", Category.DECORATIONS, font, "H", this)); - cliparts.add(new FontClipart("Banner", Category.DECORATIONS, font, "I", this)); - cliparts.add(new FontClipart("Corner with flowers 2", Category.DECORATIONS, font, "J", this)); - cliparts.add(new FontClipart("Corner with fairy", Category.DECORATIONS, font, "K", this)); - cliparts.add(new FontClipart("Corner with angel", Category.DECORATIONS, font, "L", this)); - } - - @Override - public String getName() { - return "Corners2"; - } - - @Override - public String getCredits() { - return "Digital Magic"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/corners-2-font-f5917"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/CreepyCrawliesSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/CreepyCrawliesSource.java deleted file mode 100644 index 717d605e1f..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/CreepyCrawliesSource.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class CreepyCrawliesSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public CreepyCrawliesSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, CreepyCrawliesSource.class.getResourceAsStream("/fonts/creepy-crawlies-font/CreepyCrawlies-GOxxy.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - - cliparts.add(new FontClipart("Ant", Category.ANIMALS, font, "a", this)); - cliparts.add(new FontClipart("Wasp", Category.ANIMALS, font, "b", this)); - cliparts.add(new FontClipart("Fly", Category.ANIMALS, font, "c", this)); - cliparts.add(new FontClipart("Dragon fly", Category.ANIMALS, font, "d", this)); - cliparts.add(new FontClipart("Scorpion", Category.ANIMALS, font, "e", this)); - cliparts.add(new FontClipart("Frog", Category.ANIMALS, font, "f", this)); - cliparts.add(new FontClipart("Cockroach", Category.ANIMALS, font, "g", this)); - cliparts.add(new FontClipart("Centipede", Category.ANIMALS, font, "h", this)); - cliparts.add(new FontClipart("Spider", Category.ANIMALS, font, "i", this)); - cliparts.add(new FontClipart("Bug", Category.ANIMALS, font, "j", this)); - cliparts.add(new FontClipart("Snake", Category.ANIMALS, font, "k", this)); - cliparts.add(new FontClipart("Mantis", Category.ANIMALS, font, "l", this)); - cliparts.add(new FontClipart("Tick", Category.ANIMALS, font, "m", this)); - cliparts.add(new FontClipart("Centipede", Category.ANIMALS, font, "n", this)); - cliparts.add(new FontClipart("Wood louse", Category.ANIMALS, font, "o", this)); - cliparts.add(new FontClipart("Caterpillar", Category.ANIMALS, font.deriveFont(font.getSize() * 0.7f), "p", this)); - cliparts.add(new FontClipart("Mosquito", Category.ANIMALS, font, "q", this)); - cliparts.add(new FontClipart("Grass hopper", Category.ANIMALS, font.deriveFont(font.getSize() * 0.8f), "r", this)); - cliparts.add(new FontClipart("Spider 2", Category.ANIMALS, font, "s", this)); - cliparts.add(new FontClipart("Flee", Category.ANIMALS, font, "t", this)); - cliparts.add(new FontClipart("Beetle", Category.ANIMALS, font, "u", this)); - cliparts.add(new FontClipart("Ant 2", Category.ANIMALS, font, "v", this)); - cliparts.add(new FontClipart("Worm", Category.ANIMALS, font, "w", this)); - cliparts.add(new FontClipart("Slug", Category.ANIMALS, font, "x", this)); - cliparts.add(new FontClipart("Fly 2", Category.ANIMALS, font, "y", this)); - cliparts.add(new FontClipart("Gecko", Category.ANIMALS, font, "z", this)); - cliparts.add(new FontClipart("Crow", Category.ANIMALS, font, "0", this)); - cliparts.add(new FontClipart("Rat", Category.ANIMALS, font, "1", this)); - cliparts.add(new FontClipart("Frog", Category.ANIMALS, font, "2", this)); - cliparts.add(new FontClipart("Worm 2", Category.ANIMALS, font, "3", this)); - cliparts.add(new FontClipart("Spider 4", Category.ANIMALS, font, "4", this)); - cliparts.add(new FontClipart("Tick 2", Category.ANIMALS, font, "5", this)); - cliparts.add(new FontClipart("Raven", Category.ANIMALS, font, "6", this)); - cliparts.add(new FontClipart("Mouse", Category.ANIMALS, font.deriveFont(font.getSize() * 0.8f), "7", this)); - cliparts.add(new FontClipart("Iguana", Category.ANIMALS, font.deriveFont(font.getSize() * 0.8f), "8", this)); - cliparts.add(new FontClipart("Frog", Category.ANIMALS, font, "9", this)); - } - - @Override - public String getName() { - return "Creepy Crawlies"; - } - - @Override - public String getCredits() { - return "Iconian Fonts"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/creepy-crawlies-font-f86435"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames1Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames1Source.java deleted file mode 100644 index 0e491f5229..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames1Source.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class DarriansFrames1Source extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public DarriansFrames1Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, DarriansFrames1Source.class.getResourceAsStream("/fonts/darrians-frames-font/DarriansFrames-BWrB.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Frames 01", Category.DECORATIONS, font, "a", this)); - cliparts.add(new FontClipart("Frames 02", Category.DECORATIONS, font, "b", this)); - cliparts.add(new FontClipart("Frames 03", Category.DECORATIONS, font, "c", this)); - cliparts.add(new FontClipart("Frames 04", Category.DECORATIONS, font, "d", this)); - cliparts.add(new FontClipart("Frames 05", Category.DECORATIONS, font, "e", this)); - cliparts.add(new FontClipart("Frames 06", Category.DECORATIONS, font, "f", this)); - cliparts.add(new FontClipart("Frames 07", Category.DECORATIONS, font, "g", this)); - cliparts.add(new FontClipart("Frames 08", Category.DECORATIONS, font, "h", this)); - cliparts.add(new FontClipart("Frames 09", Category.DECORATIONS, font, "i", this)); - cliparts.add(new FontClipart("Frames 10", Category.DECORATIONS, font, "j", this)); - cliparts.add(new FontClipart("Frames 11", Category.DECORATIONS, font, "k", this)); - cliparts.add(new FontClipart("Frames 12", Category.DECORATIONS, font, "l", this)); - cliparts.add(new FontClipart("Frames 13", Category.DECORATIONS, font, "m", this)); - cliparts.add(new FontClipart("Frames 14", Category.DECORATIONS, font, "n", this)); - cliparts.add(new FontClipart("Frames 15", Category.DECORATIONS, font, "o", this)); - cliparts.add(new FontClipart("Frames 16", Category.DECORATIONS, font, "p", this)); - cliparts.add(new FontClipart("Frames 17", Category.DECORATIONS, font, "q", this)); - cliparts.add(new FontClipart("Frames 18", Category.DECORATIONS, font, "r", this)); - cliparts.add(new FontClipart("Frames 19", Category.DECORATIONS, font, "s", this)); - cliparts.add(new FontClipart("Frames 20", Category.DECORATIONS, font, "t", this)); - cliparts.add(new FontClipart("Frames 21", Category.DECORATIONS, font, "u", this)); - cliparts.add(new FontClipart("Frames 22", Category.DECORATIONS, font, "v", this)); - cliparts.add(new FontClipart("Frames 23", Category.DECORATIONS, font, "w", this)); - cliparts.add(new FontClipart("Frames 24", Category.DECORATIONS, font, "x", this)); - cliparts.add(new FontClipart("Frames 25", Category.DECORATIONS, font, "y", this)); - } - - @Override - public String getName() { - return "DarriansFrames1"; - } - - @Override - public String getCredits() { - return "Darrian Lynx"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/darrians-frames-font-f1770"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames2Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames2Source.java deleted file mode 100644 index 8e3ebac2e7..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DarriansFrames2Source.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class DarriansFrames2Source extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public DarriansFrames2Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, DarriansFrames2Source.class.getResourceAsStream("/fonts/darrians-frames-font/DarriansFramesTwo-8M5M.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Frames 01", Category.DECORATIONS, font, "a", this)); - cliparts.add(new FontClipart("Frames 02", Category.DECORATIONS, font, "b", this)); - cliparts.add(new FontClipart("Frames 03", Category.DECORATIONS, font, "c", this)); - cliparts.add(new FontClipart("Frames 04", Category.DECORATIONS, font, "d", this)); - cliparts.add(new FontClipart("Frames 05", Category.DECORATIONS, font, "e", this)); - cliparts.add(new FontClipart("Frames 06", Category.DECORATIONS, font, "f", this)); - cliparts.add(new FontClipart("Frames 07", Category.DECORATIONS, font, "g", this)); - cliparts.add(new FontClipart("Frames 08", Category.DECORATIONS, font, "h", this)); - cliparts.add(new FontClipart("Frames 09", Category.DECORATIONS, font, "i", this)); - cliparts.add(new FontClipart("Frames 10", Category.DECORATIONS, font, "j", this)); - cliparts.add(new FontClipart("Frames 11", Category.DECORATIONS, font, "k", this)); - cliparts.add(new FontClipart("Frames 12", Category.DECORATIONS, font, "l", this)); - cliparts.add(new FontClipart("Frames 13", Category.DECORATIONS, font, "m", this)); - cliparts.add(new FontClipart("Frames 14", Category.DECORATIONS, font, "n", this)); - cliparts.add(new FontClipart("Frames 15", Category.DECORATIONS, font, "o", this)); - cliparts.add(new FontClipart("Frames 16", Category.DECORATIONS, font, "p", this)); - cliparts.add(new FontClipart("Frames 17", Category.DECORATIONS, font, "q", this)); - cliparts.add(new FontClipart("Frames 18", Category.DECORATIONS, font, "r", this)); - cliparts.add(new FontClipart("Frames 19", Category.DECORATIONS, font, "s", this)); - cliparts.add(new FontClipart("Frames 20", Category.DECORATIONS, font, "t", this)); - cliparts.add(new FontClipart("Frames 21", Category.DECORATIONS, font, "u", this)); - cliparts.add(new FontClipart("Frames 22", Category.DECORATIONS, font, "v", this)); - cliparts.add(new FontClipart("Frames 23", Category.DECORATIONS, font, "w", this)); - cliparts.add(new FontClipart("Frames 24", Category.DECORATIONS, font, "x", this)); - cliparts.add(new FontClipart("Frames 25", Category.DECORATIONS, font, "y", this)); - } - - @Override - public String getName() { - return "DarriansFrames2"; - } - - @Override - public String getCredits() { - return "Darrian Lynx"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/darrians-frames-font-f1770"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DestinysBordersSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DestinysBordersSource.java deleted file mode 100644 index 25429e7986..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/DestinysBordersSource.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class DestinysBordersSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public DestinysBordersSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, DestinysBordersSource.class.getResourceAsStream("/fonts/destinys-borders/DestinysBorderDings.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("sign1", Category.DECORATIONS, font, "A", this)); - cliparts.add(new FontClipart("sign2", Category.DECORATIONS, font, "B", this)); - cliparts.add(new FontClipart("sign3", Category.DECORATIONS, font, "C", this)); - cliparts.add(new FontClipart("sign4", Category.DECORATIONS, font, "D", this)); - cliparts.add(new FontClipart("sign5", Category.DECORATIONS, font, "E", this)); - cliparts.add(new FontClipart("sign6", Category.DECORATIONS, font, "F", this)); - cliparts.add(new FontClipart("sign7", Category.DECORATIONS, font, "G", this)); - cliparts.add(new FontClipart("sign8", Category.DECORATIONS, font, "H", this)); - cliparts.add(new FontClipart("sign9", Category.DECORATIONS, font, "I", this)); - cliparts.add(new FontClipart("sign10", Category.DECORATIONS, font, "J", this)); - } - - @Override - public String getName() { - return "Destinys Border"; - } - - @Override - public String getCredits() { - return "Destiny's Designs"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/destinys-border-dings-font-f12969"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EasterArtSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EasterArtSource.java deleted file mode 100644 index aa3a0c870d..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EasterArtSource.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class EasterArtSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public EasterArtSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, EasterArtSource.class.getResourceAsStream("/fonts/easterart/EasterArt.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - cliparts.add(new FontClipart("Easter egg 1", Category.HOLIDAY, font, "A", this)); - cliparts.add(new FontClipart("Easter egg 2", Category.HOLIDAY, font, "J", this)); - cliparts.add(new FontClipart("Easter egg 4", Category.HOLIDAY, font, "M", this)); - cliparts.add(new FontClipart("Easter egg 5", Category.HOLIDAY, font, "g", this)); - cliparts.add(new FontClipart("Easter egg 6", Category.HOLIDAY, font, "h", this)); - cliparts.add(new FontClipart("Easter egg 7", Category.HOLIDAY, font, "i", this)); - cliparts.add(new FontClipart("Easter egg 8", Category.HOLIDAY, font, "j", this)); - cliparts.add(new FontClipart("Easter egg 11", Category.HOLIDAY, font, "f", this)); - cliparts.add(new FontClipart("Easter egg 12", Category.HOLIDAY, font, "p", this)); - cliparts.add(new FontClipart("Easter egg 13", Category.HOLIDAY, font, "q", this)); - cliparts.add(new FontClipart("Easter egg 14", Category.HOLIDAY, font, "r", this)); - cliparts.add(new FontClipart("Easter eggs 1", Category.HOLIDAY, font.deriveFont(font.getSize() * 0.6f), "L", this)); - cliparts.add(new FontClipart("Easter eggs 2", Category.HOLIDAY, font.deriveFont(font.getSize() * 0.8f), "k", this)); - cliparts.add(new FontClipart("Easter eggs 3", Category.HOLIDAY, font, "l", this)); - cliparts.add(new FontClipart("Easter basket 3", Category.HOLIDAY, font, "P", this)); - cliparts.add(new FontClipart("Easter eggs 4", Category.HOLIDAY, font, "e", this)); - cliparts.add(new FontClipart("Easter bunny 4", Category.HOLIDAY, font, "Q", this)); - cliparts.add(new FontClipart("Easter basket 1", Category.HOLIDAY, font, "R", this)); - cliparts.add(new FontClipart("Easter basket 2", Category.HOLIDAY, font, "S", this)); - cliparts.add(new FontClipart("Easter basket 3", Category.HOLIDAY, font, "v", this)); - cliparts.add(new FontClipart("Easter basket 4", Category.HOLIDAY, font, "m", this)); - cliparts.add(new FontClipart("Bunny 1", Category.ANIMALS, font, "V", this)); - cliparts.add(new FontClipart("Bunny 3", Category.ANIMALS, font, "C", this)); - cliparts.add(new FontClipart("Bunny 7", Category.ANIMALS, font, "n", this)); - cliparts.add(new FontClipart("Bunny 8", Category.ANIMALS, font, "o", this)); - cliparts.add(new FontClipart("Bunny 9", Category.ANIMALS, font, "w", this)); - cliparts.add(new FontClipart("Easter bunny 1", Category.HOLIDAY, font, "K", this)); - cliparts.add(new FontClipart("Easter bunny 2", Category.HOLIDAY, font, "N", this)); - cliparts.add(new FontClipart("Easter bunny 3", Category.HOLIDAY, font, "O", this)); - cliparts.add(new FontClipart("Easter bunny 4", Category.HOLIDAY, font, "T", this)); - cliparts.add(new FontClipart("Easter bunny 5", Category.HOLIDAY, font, "U", this)); - cliparts.add(new FontClipart("Easter bunny 6", Category.HOLIDAY, font, "X", this)); - cliparts.add(new FontClipart("Easter bunny 7", Category.HOLIDAY, font, "Y", this)); - cliparts.add(new FontClipart("Easter bunny 8", Category.HOLIDAY, font, "Z", this)); - cliparts.add(new FontClipart("Easter bunny 9", Category.HOLIDAY, font, "a", this)); - cliparts.add(new FontClipart("Easter bunny 10", Category.HOLIDAY, font, "c", this)); - cliparts.add(new FontClipart("Easter bunny 11", Category.HOLIDAY, font, "d", this)); - cliparts.add(new FontClipart("Easter bunny 12", Category.HOLIDAY, font, "s", this)); - cliparts.add(new FontClipart("Easter bunny 13", Category.HOLIDAY, font, "t", this)); - cliparts.add(new FontClipart("Easter bunny 14", Category.HOLIDAY, font, "E", this)); - cliparts.add(new FontClipart("Easter bunny 15", Category.HOLIDAY, font, "F", this)); - cliparts.add(new FontClipart("Easter bunny 16", Category.HOLIDAY, font, "G", this)); - cliparts.add(new FontClipart("Easter bunny 17", Category.HOLIDAY, font, "H", this)); - cliparts.add(new FontClipart("Easter bunny 18", Category.HOLIDAY, font, "I", this)); - cliparts.add(new FontClipart("Easter bunny 19", Category.HOLIDAY, font, "B", this)); - cliparts.add(new FontClipart("Easter Bunny 20", Category.HOLIDAY, font, "W", this)); - cliparts.add(new FontClipart("Easter Bunny 21", Category.HOLIDAY, font, "b", this)); - cliparts.add(new FontClipart("Easter Bunny 22", Category.HOLIDAY, font, "D", this)); - cliparts.add(new FontClipart("Easter chickens 1", Category.HOLIDAY, font, "u", this)); - } - - @Override - public String getName() { - return "EasterArt"; - } - - @Override - public String getCredits() { - return "GemFonts"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/easter-art-font-f4082"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EfonSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EfonSource.java deleted file mode 100644 index 2ab7634738..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EfonSource.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class EfonSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public EfonSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, EfonSource.class.getResourceAsStream("/fonts/efon/Efon-Gl4q.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Flower", Category.PLANTS, font, "\"", this)); - cliparts.add(new FontClipart("Petals 1", Category.PLANTS, font, "!", this)); - cliparts.add(new FontClipart("Petals 2", Category.PLANTS, font, "#", this)); - cliparts.add(new FontClipart("Petals 3", Category.PLANTS, font, "$", this)); - cliparts.add(new FontClipart("Plant", Category.PLANTS, font, ")", this)); - cliparts.add(new FontClipart("Leaf 1", Category.PLANTS, font, ":", this)); - cliparts.add(new FontClipart("Leaf 2", Category.PLANTS, font, "[", this)); - cliparts.add(new FontClipart("Cactus", Category.PLANTS, font, "@", this)); - cliparts.add(new FontClipart("Mouse 3", Category.ANIMALS, font, "^", this)); - cliparts.add(new FontClipart("Rabbit", Category.ANIMALS, font, "_", this)); - cliparts.add(new FontClipart("Crab", Category.ANIMALS, font, "~", this)); - cliparts.add(new FontClipart("Bread", Category.FOOD, font, "+", this)); - cliparts.add(new FontClipart("Carrot", Category.FOOD, font, ",", this)); - cliparts.add(new FontClipart("Strawberry", Category.FOOD, font, "<", this)); - cliparts.add(new FontClipart("Frog", Category.ANIMALS, font, "'", this)); - cliparts.add(new FontClipart("Hamster", Category.ANIMALS, font, "*", this)); - cliparts.add(new FontClipart("Fish 1", Category.ANIMALS, font, "3", this)); - cliparts.add(new FontClipart("Polliwog", Category.ANIMALS, font, "A", this)); - cliparts.add(new FontClipart("Egg", Category.FOOD, font, "B", this)); - cliparts.add(new FontClipart("Fox", Category.ANIMALS, font, "D", this)); - cliparts.add(new FontClipart("Telephone", Category.ELECTRONICS, font, "F", this)); - cliparts.add(new FontClipart("Tram", Category.TRANSPORTATION, font, "G", this)); - cliparts.add(new FontClipart("Bus", Category.TRANSPORTATION, font, "H", this)); - cliparts.add(new FontClipart("Car", Category.TRANSPORTATION, font, "I", this)); - cliparts.add(new FontClipart("Umbrella", Category.WEATHER, font, "N", this)); - cliparts.add(new FontClipart("Plane", Category.TRANSPORTATION, font, "L", this)); - cliparts.add(new FontClipart("Sun", Category.WEATHER, font, "M", this)); - cliparts.add(new FontClipart("Cat", Category.ANIMALS, font, "P", this)); - cliparts.add(new FontClipart("Cat angry", Category.ANIMALS, font, "P", this)); - cliparts.add(new FontClipart("Octopus", Category.ANIMALS, font, "Q", this)); - cliparts.add(new FontClipart("Fish 2", Category.ANIMALS, font, "S", this)); - cliparts.add(new FontClipart("Ant", Category.ANIMALS, font, "T", this)); - cliparts.add(new FontClipart("Duck", Category.ANIMALS, font, "U", this)); - cliparts.add(new FontClipart("Duckling", Category.ANIMALS, font, "V", this)); - cliparts.add(new FontClipart("Mouse 1", Category.ANIMALS, font, "X", this)); - cliparts.add(new FontClipart("Mouse 2", Category.ANIMALS, font, "Y", this)); - cliparts.add(new FontClipart("Ghost", Category.MYTHICAL, font, "Z", this)); - cliparts.add(new FontClipart("Robot", Category.ELECTRONICS, font, "x", this)); - cliparts.add(new FontClipart("Moon", Category.WEATHER, font, "e", this)); - cliparts.add(new FontClipart("Cellphone", Category.ELECTRONICS, font, "f", this)); - cliparts.add(new FontClipart("Television", Category.ELECTRONICS, font, "h", this)); - cliparts.add(new FontClipart("Coffey", Category.FOOD, font, "r", this)); - cliparts.add(new FontClipart("Rain", Category.WEATHER, font, "n", this)); - } - - @Override - public String getName() { - return "Efon Font"; - } - - @Override - public String getCredits() { - return "Sakurai Nan"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/efon-font-f4531"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EvilzSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EvilzSource.java deleted file mode 100644 index 660437b1aa..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/EvilzSource.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class EvilzSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public EvilzSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, FredokaSource.class.getResourceAsStream("/fonts/evilz/Evilz-JJ1a.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Ghost", Category.MYTHICAL, font, "*", this)); - cliparts.add(new FontClipart("Cat-1", Category.ANIMALS, font, "+", this)); - cliparts.add(new FontClipart("Witch", Category.MYTHICAL, font, ",", this)); - cliparts.add(new FontClipart("Cat-2", Category.ANIMALS, font, "-", this)); - cliparts.add(new FontClipart("Joker-1", Category.PEOPLE_AND_CHARACTERS, font, "@", this)); - cliparts.add(new FontClipart("Snake-1", Category.ANIMALS, font, "[", this)); - cliparts.add(new FontClipart("Prisoner", Category.PEOPLE_AND_CHARACTERS, font, "\\", this)); - cliparts.add(new FontClipart("Snake-2", Category.ANIMALS, font, "]", this)); - cliparts.add(new FontClipart("Joker-2", Category.PEOPLE_AND_CHARACTERS, font, "`", this)); - cliparts.add(new FontClipart("Snakes", Category.ANIMALS, font, "{", this)); - cliparts.add(new FontClipart("Track", Category.ANIMALS, font, "=", this)); - cliparts.add(new FontClipart("Axe", Category.TOOLS, font, "\"", this)); - cliparts.add(new FontClipart("Morning star", Category.TOOLS, font, "#", this)); - cliparts.add(new FontClipart("Medicine", Category.FOOD, font, "&", this)); - cliparts.add(new FontClipart("Love potion", Category.FOOD, font, "_", this)); - cliparts.add(new FontClipart("Key 1", Category.UNSORTED, font, ".", this)); - cliparts.add(new FontClipart("Key 2", Category.UNSORTED, font, "/", this)); - cliparts.add(new FontClipart("House haunted", Category.MYTHICAL, font, "~", this)); - cliparts.add(new FontClipart("Key 2", Category.SIGNS_AND_SYMBOLS, font, "/", this)); - cliparts.add(new FontClipart("Grave", Category.SIGNS_AND_SYMBOLS, font, "^", this)); - cliparts.add(new FontClipart("Witch hat", Category.UNSORTED, font, "!", this)); - cliparts.add(new FontClipart("Sword", Category.TOOLS, font, "$", this)); - cliparts.add(new FontClipart("Swords", Category.TOOLS, font, "4", this)); - cliparts.add(new FontClipart("Bag with money", Category.UNSORTED, font, "5", this)); - cliparts.add(new FontClipart("Poison", Category.FOOD, font, "6", this)); - cliparts.add(new FontClipart("Candle", Category.UNSORTED, font, "7", this)); - cliparts.add(new FontClipart("Feather", Category.UNSORTED, font, "8", this)); - cliparts.add(new FontClipart("Bomb", Category.TOOLS, font, "9", this)); - cliparts.add(new FontClipart("Cross", Category.SIGNS_AND_SYMBOLS, font, "C", this)); - cliparts.add(new FontClipart("Skull and eye patch", Category.SIGNS_AND_SYMBOLS, font, "D", this)); - cliparts.add(new FontClipart("Heart and cross", Category.SIGNS_AND_SYMBOLS, font, "E", this)); - cliparts.add(new FontClipart("Heart and bones", Category.SIGNS_AND_SYMBOLS, font, "F", this)); - cliparts.add(new FontClipart("Star and bones", Category.SIGNS_AND_SYMBOLS, font, "G", this)); - cliparts.add(new FontClipart("Heart and wings", Category.SIGNS_AND_SYMBOLS, font, "H", this)); - cliparts.add(new FontClipart("Pumpkin", Category.MYTHICAL, font, "I", this)); - cliparts.add(new FontClipart("Mouse", Category.ANIMALS, font, "J", this)); - cliparts.add(new FontClipart("Wolf", Category.ANIMALS, font, "K", this)); - cliparts.add(new FontClipart("Stitch man 1", Category.MYTHICAL, font, "L", this)); - cliparts.add(new FontClipart("Bat", Category.ANIMALS, font, "N", this)); - cliparts.add(new FontClipart("Raven", Category.ANIMALS, font, "O", this)); - cliparts.add(new FontClipart("Salamander", Category.ANIMALS, font, "P", this)); - cliparts.add(new FontClipart("Small ghost", Category.MYTHICAL, font, "Q", this)); - cliparts.add(new FontClipart("Reaper", Category.MYTHICAL, font, "R", this)); - cliparts.add(new FontClipart("Casket", Category.SIGNS_AND_SYMBOLS, font, "S", this)); - cliparts.add(new FontClipart("Elf", Category.MYTHICAL, font, "T", this)); - cliparts.add(new FontClipart("Spider", Category.ANIMALS, font, "U", this)); - cliparts.add(new FontClipart("Bat flying 1", Category.ANIMALS, font, "V", this)); - cliparts.add(new FontClipart("Devil-1", Category.MYTHICAL, font, "W", this)); - cliparts.add(new FontClipart("Devil-2", Category.MYTHICAL, font, "X", this)); - cliparts.add(new FontClipart("Rabbit", Category.ANIMALS, font, "Y", this)); - cliparts.add(new FontClipart("Rabbit ghost", Category.MYTHICAL, font, "Z", this)); - cliparts.add(new FontClipart("Dead cow", Category.SIGNS_AND_SYMBOLS, font, "a", this)); - cliparts.add(new FontClipart("Skull and bones", Category.SIGNS_AND_SYMBOLS, font, "b", this)); - cliparts.add(new FontClipart("Bones", Category.SIGNS_AND_SYMBOLS, font, "c", this)); - cliparts.add(new FontClipart("Dead king", Category.SIGNS_AND_SYMBOLS, font, "d", this)); - cliparts.add(new FontClipart("Heart and lightning", Category.SIGNS_AND_SYMBOLS, font, "e", this)); - cliparts.add(new FontClipart("Heart and skull", Category.SIGNS_AND_SYMBOLS, font, "f", this)); - cliparts.add(new FontClipart("Star and skull", Category.SIGNS_AND_SYMBOLS, font, "g", this)); - cliparts.add(new FontClipart("Pentagram", Category.SIGNS_AND_SYMBOLS, font, "h", this)); - cliparts.add(new FontClipart("Pumpkin", Category.MYTHICAL, font, "i", this)); - cliparts.add(new FontClipart("Stitch man 2", Category.MYTHICAL, font, "l", this)); - cliparts.add(new FontClipart("Thorn bush", Category.PLANTS, font, "m", this)); - cliparts.add(new FontClipart("Bat flying 2", Category.ANIMALS, font, "n", this)); - cliparts.add(new FontClipart("Spider web", Category.ANIMALS, font, "u", this)); - } - - @Override - public String getName() { - return "Evilz Font"; - } - - @Override - public String getCredits() { - return "Sakurai Nan"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/evilz-font-f4530"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/FredokaSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/FredokaSource.java deleted file mode 100644 index fd0665bc71..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/FredokaSource.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class FredokaSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public FredokaSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, FredokaSource.class.getResourceAsStream("/fonts/fredoka-one/Fredoka-dingbats.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Elephant", Category.ANIMALS, font, "\u0061", this)); - cliparts.add(new FontClipart("Bird", Category.ANIMALS, font, "\u0062", this)); - cliparts.add(new FontClipart("Fish", Category.ANIMALS, font, "\u0063", this)); - cliparts.add(new FontClipart("Owl", Category.ANIMALS, font, "\u0064", this)); - cliparts.add(new FontClipart("Cat", Category.ANIMALS, font, "\u0065", this)); - cliparts.add(new FontClipart("Butterfly", Category.ANIMALS, font, "\u0066", this)); - cliparts.add(new FontClipart("Rabbit", Category.ANIMALS, font, "\u0067", this)); - cliparts.add(new FontClipart("Fishbowl", Category.ANIMALS, font, "\u0068", this)); - cliparts.add(new FontClipart("Mouse", Category.ANIMALS, font, "\u0069", this)); - cliparts.add(new FontClipart("Ornament-left", Category.DECORATIONS, font, "\u0028", this)); - cliparts.add(new FontClipart("Ornament-right", Category.DECORATIONS, font, "\u0029", this)); - cliparts.add(new FontClipart("Ornament-1", Category.DECORATIONS, font, "\u0031", this)); - cliparts.add(new FontClipart("Ornament-2", Category.DECORATIONS, font, "\u0032", this)); - cliparts.add(new FontClipart("Ornament-3", Category.DECORATIONS, font, "\u0033", this)); - cliparts.add(new FontClipart("Ornament-4", Category.DECORATIONS, font, "\u0034", this)); - cliparts.add(new FontClipart("Ornament-5", Category.DECORATIONS, font, "\u0035", this)); - cliparts.add(new FontClipart("Heart", Category.DECORATIONS, font, "\u0036", this)); - cliparts.add(new FontClipart("Ornament-7", Category.DECORATIONS, font, "\u0038", this)); - cliparts.add(new FontClipart("Ornament-8", Category.DECORATIONS, font, "\u0039", this)); - cliparts.add(new FontClipart("Ornament-9", Category.DECORATIONS, font, "\u003C", this)); - cliparts.add(new FontClipart("Flower-1", Category.PLANTS, font, "\u0041", this)); - cliparts.add(new FontClipart("Flower-2", Category.PLANTS, font, "\u0042", this)); - cliparts.add(new FontClipart("Flower-3", Category.PLANTS, font, "\u0043", this)); - cliparts.add(new FontClipart("Leaf", Category.PLANTS, font, "\u0044", this)); - cliparts.add(new FontClipart("Barley", Category.PLANTS, font, "\u0045", this)); - cliparts.add(new FontClipart("Rye", Category.PLANTS, font, "\u0046", this)); - cliparts.add(new FontClipart("Yin Yang", Category.SIGNS_AND_SYMBOLS, font, "\u0048", this)); - cliparts.add(new FontClipart("Knot", Category.DECORATIONS, font, "\u004B", this)); - cliparts.add(new FontClipart("Flower", Category.DECORATIONS, font, "\u0054", this)); - cliparts.add(new FontClipart("Old-phone", Category.ELECTRONICS, font, "\u004A", this)); - cliparts.add(new FontClipart("Cellphone", Category.ELECTRONICS, font, "\u0051", this)); - cliparts.add(new FontClipart("TV", Category.ELECTRONICS, font, "\u0052", this)); - } - - @Override - public String getName() { - return "Fredoka One"; - } - - @Override - public String getCredits() { - return "Milena Brandao"; - } - - @Override - public String getUrl() { - return "https://www.1001fonts.com/fredoka-one-font.html"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/GardenSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/GardenSource.java deleted file mode 100644 index 9fe24b1fbe..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/GardenSource.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class GardenSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public GardenSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, GardenSource.class.getResourceAsStream("/fonts/garden/garden.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Plant", Category.PLANTS, font, "A", this)); - cliparts.add(new FontClipart("Ladder trimming", Category.PEOPLE_AND_CHARACTERS, font, "B", this)); - cliparts.add(new FontClipart("Mowing lawn", Category.PEOPLE_AND_CHARACTERS, font, "C", this)); - cliparts.add(new FontClipart("Raking 1", Category.PEOPLE_AND_CHARACTERS, font, "D", this)); - cliparts.add(new FontClipart("Garden tools", Category.TOOLS, font, "F", this)); - cliparts.add(new FontClipart("Rake", Category.TOOLS, font, "G", this)); - cliparts.add(new FontClipart("Raking 2", Category.PEOPLE_AND_CHARACTERS, font, "H", this)); - cliparts.add(new FontClipart("pruning shears", Category.TOOLS, font, "I", this)); - cliparts.add(new FontClipart("Watering can", Category.TOOLS, font, "J", this)); - cliparts.add(new FontClipart("Gloves", Category.TOOLS, font, "K", this)); - cliparts.add(new FontClipart("Pitch fork", Category.TOOLS, font, "L", this)); - cliparts.add(new FontClipart("Watering can 2", Category.TOOLS, font, "M", this)); - cliparts.add(new FontClipart("Plant 1", Category.PLANTS, font, "N", this)); - cliparts.add(new FontClipart("Spade", Category.TOOLS, font, "O", this)); - cliparts.add(new FontClipart("Hedge shears", Category.TOOLS, font, "P", this)); - cliparts.add(new FontClipart("Plant", Category.SIGNS_AND_SYMBOLS, font, "Q", this)); - cliparts.add(new FontClipart("Flower", Category.PLANTS, font, "R", this)); - cliparts.add(new FontClipart("Garden fork", Category.TOOLS, font, "S", this)); - cliparts.add(new FontClipart("Garden hose", Category.TOOLS, font, "T", this)); - cliparts.add(new FontClipart("Wheel borrow", Category.TOOLS, font, "U", this)); - cliparts.add(new FontClipart("Water tap", Category.TOOLS, font, "V", this)); - cliparts.add(new FontClipart("Water tap with hose", Category.TOOLS, font, "W", this)); - cliparts.add(new FontClipart("Lawn mower", Category.TOOLS, font, "X", this)); - cliparts.add(new FontClipart("Flower seeds 1", Category.UNSORTED, font, "Y", this)); - cliparts.add(new FontClipart("Flower seeds 2", Category.UNSORTED, font, "Z", this)); - cliparts.add(new FontClipart("Bug", Category.ANIMALS, font, "a", this)); - cliparts.add(new FontClipart("Tree", Category.PLANTS, font, "b", this)); - cliparts.add(new FontClipart("Lawn mower", Category.TOOLS, font, "c", this)); - cliparts.add(new FontClipart("Garden spade", Category.TOOLS, font, "d", this)); - cliparts.add(new FontClipart("Spray bottle", Category.TOOLS, font, "e", this)); - cliparts.add(new FontClipart("Grass cutter", Category.TOOLS, font, "f", this)); - cliparts.add(new FontClipart("Bucket", Category.TOOLS, font, "g", this)); - cliparts.add(new FontClipart("Water hose 2", Category.TOOLS, font, "g", this)); - cliparts.add(new FontClipart("Gloves 2", Category.TOOLS, font, "i", this)); - cliparts.add(new FontClipart("Hose nozzle", Category.TOOLS, font, "j", this)); - cliparts.add(new FontClipart("Garden knife", Category.TOOLS, font, "k", this)); - cliparts.add(new FontClipart("Fence", Category.UNSORTED, font, "s", this)); - cliparts.add(new FontClipart("Gloves 3", Category.TOOLS, font, "t", this)); - cliparts.add(new FontClipart("Watering can 3", Category.TOOLS, font, "u", this)); - cliparts.add(new FontClipart("Pots", Category.UNSORTED, font, "x", this)); - cliparts.add(new FontClipart("Basket", Category.UNSORTED, font, "y", this)); - cliparts.add(new FontClipart("Chainsaw", Category.TOOLS, font, "$", this)); - cliparts.add(new FontClipart("Apple", Category.FOOD, font, "£", this)); - } - - @Override - public String getName() { - return "Garden"; - } - - @Override - public String getCredits() { - return "Woodcutter"; - } - - @Override - public String getUrl() { - return "https://www.dafont.com/garden-icons.font"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/HouseIconsSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/HouseIconsSource.java deleted file mode 100644 index 7d11b6bc79..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/HouseIconsSource.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class HouseIconsSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public HouseIconsSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, HouseIconsSource.class.getResourceAsStream("/fonts/house-icons/house-icons.otf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("House 01", Category.BUILDINGS, font, "A", this)); - cliparts.add(new FontClipart("House 02", Category.BUILDINGS, font, "B", this)); - cliparts.add(new FontClipart("House 03", Category.BUILDINGS, font, "C", this)); - cliparts.add(new FontClipart("House 04", Category.BUILDINGS, font, "D", this)); - cliparts.add(new FontClipart("House 05", Category.BUILDINGS, font, "E", this)); - cliparts.add(new FontClipart("House 06", Category.BUILDINGS, font, "F", this)); - cliparts.add(new FontClipart("House 07", Category.BUILDINGS, font, "G", this)); - cliparts.add(new FontClipart("House 08", Category.BUILDINGS, font, "H", this)); - cliparts.add(new FontClipart("House 09", Category.BUILDINGS, font, "I", this)); - cliparts.add(new FontClipart("House 10", Category.BUILDINGS, font, "J", this)); - cliparts.add(new FontClipart("House 11", Category.BUILDINGS, font, "K", this)); - cliparts.add(new FontClipart("House 12", Category.BUILDINGS, font, "L", this)); - cliparts.add(new FontClipart("House 13", Category.BUILDINGS, font, "M", this)); - cliparts.add(new FontClipart("House 14", Category.BUILDINGS, font, "N", this)); - cliparts.add(new FontClipart("House 15", Category.BUILDINGS, font, "O", this)); - cliparts.add(new FontClipart("House 16", Category.BUILDINGS, font, "P", this)); - cliparts.add(new FontClipart("House 17", Category.BUILDINGS, font, "Q", this)); - cliparts.add(new FontClipart("House 18", Category.BUILDINGS, font, "R", this)); - cliparts.add(new FontClipart("House 19", Category.BUILDINGS, font, "S", this)); - cliparts.add(new FontClipart("House 20", Category.BUILDINGS, font, "T", this)); - cliparts.add(new FontClipart("House 21", Category.BUILDINGS, font, "U", this)); - cliparts.add(new FontClipart("House 22", Category.BUILDINGS, font, "V", this)); - cliparts.add(new FontClipart("House 23", Category.BUILDINGS, font, "W", this)); - cliparts.add(new FontClipart("House 24", Category.BUILDINGS, font, "X", this)); - cliparts.add(new FontClipart("House 25", Category.BUILDINGS, font, "Y", this)); - cliparts.add(new FontClipart("House 26", Category.BUILDINGS, font, "Z", this)); - cliparts.add(new FontClipart("House 27", Category.BUILDINGS, font, "a", this)); - cliparts.add(new FontClipart("House 28", Category.BUILDINGS, font, "b", this)); - cliparts.add(new FontClipart("House 28", Category.BUILDINGS, font, "c", this)); - cliparts.add(new FontClipart("House 29", Category.BUILDINGS, font, "d", this)); - cliparts.add(new FontClipart("House 30", Category.BUILDINGS, font, "e", this)); - cliparts.add(new FontClipart("House 31", Category.BUILDINGS, font, "f", this)); - cliparts.add(new FontClipart("House 32", Category.BUILDINGS, font, "g", this)); - cliparts.add(new FontClipart("House 33", Category.BUILDINGS, font, "h", this)); - cliparts.add(new FontClipart("House 34", Category.BUILDINGS, font, "i", this)); - cliparts.add(new FontClipart("House 35", Category.BUILDINGS, font, "j", this)); - cliparts.add(new FontClipart("House 36", Category.BUILDINGS, font, "k", this)); - cliparts.add(new FontClipart("House 37", Category.BUILDINGS, font, "l", this)); - cliparts.add(new FontClipart("House 38", Category.BUILDINGS, font, "m", this)); - cliparts.add(new FontClipart("House 39", Category.BUILDINGS, font, "n", this)); - cliparts.add(new FontClipart("House 40", Category.BUILDINGS, font, "o", this)); - cliparts.add(new FontClipart("House 41", Category.BUILDINGS, font, "p", this)); - cliparts.add(new FontClipart("House 42", Category.BUILDINGS, font, "q", this)); - cliparts.add(new FontClipart("House 43", Category.BUILDINGS, font, "r", this)); - cliparts.add(new FontClipart("House 44", Category.BUILDINGS, font, "s", this)); - cliparts.add(new FontClipart("House 45", Category.BUILDINGS, font, "t", this)); - cliparts.add(new FontClipart("House 46", Category.BUILDINGS, font, "u", this)); - cliparts.add(new FontClipart("House 47", Category.BUILDINGS, font, "v", this)); - cliparts.add(new FontClipart("House 48", Category.BUILDINGS, font, "w", this)); - cliparts.add(new FontClipart("House 49", Category.BUILDINGS, font, "x", this)); - cliparts.add(new FontClipart("House 50", Category.BUILDINGS, font, "y", this)); - cliparts.add(new FontClipart("House 51", Category.BUILDINGS, font, "z", this)); - cliparts.add(new FontClipart("House 52", Category.BUILDINGS, font, "0", this)); - cliparts.add(new FontClipart("House 53", Category.BUILDINGS, font, "1", this)); - cliparts.add(new FontClipart("House 54", Category.BUILDINGS, font, "2", this)); - cliparts.add(new FontClipart("House 55", Category.BUILDINGS, font, "3", this)); - cliparts.add(new FontClipart("House 56", Category.BUILDINGS, font, "4", this)); - cliparts.add(new FontClipart("House 57", Category.BUILDINGS, font, "5", this)); - cliparts.add(new FontClipart("House 58", Category.BUILDINGS, font, "6", this)); - cliparts.add(new FontClipart("House 59", Category.BUILDINGS, font, "7", this)); - cliparts.add(new FontClipart("House 60", Category.BUILDINGS, font, "8", this)); - cliparts.add(new FontClipart("House 61", Category.BUILDINGS, font, "9", this)); - } - - @Override - public String getName() { - return "House Icons"; - } - - @Override - public String getCredits() { - return "Woodcutter"; - } - - @Override - public String getUrl() { - return "https://www.dafont.com/house-icons.font"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/KomikaBubblesSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/KomikaBubblesSource.java deleted file mode 100644 index c9d24f47df..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/KomikaBubblesSource.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class KomikaBubblesSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public KomikaBubblesSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, KomikaBubblesSource.class.getResourceAsStream("/fonts/komika-bubbles/KomikaBubbles-6pq.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("bubble 1", Category.DECORATIONS, font, "A", this)); - cliparts.add(new FontClipart("bubble 2", Category.DECORATIONS, font, "B", this)); - cliparts.add(new FontClipart("bubble 3", Category.DECORATIONS, font, "C", this)); - cliparts.add(new FontClipart("bubble 4", Category.DECORATIONS, font, "D", this)); - cliparts.add(new FontClipart("bubble 5", Category.DECORATIONS, font, "E", this)); - cliparts.add(new FontClipart("bubble 6", Category.DECORATIONS, font, "F", this)); - cliparts.add(new FontClipart("bubble 7", Category.DECORATIONS, font, "G", this)); - cliparts.add(new FontClipart("bubble 8", Category.DECORATIONS, font, "H", this)); - cliparts.add(new FontClipart("bubble 9", Category.DECORATIONS, font, "I", this)); - cliparts.add(new FontClipart("bubble 10", Category.DECORATIONS, font, "J", this)); - cliparts.add(new FontClipart("bubble 11", Category.DECORATIONS, font, "K", this)); - cliparts.add(new FontClipart("bubble 12", Category.DECORATIONS, font, "L", this)); - cliparts.add(new FontClipart("bubble 13", Category.DECORATIONS, font, "M", this)); - cliparts.add(new FontClipart("bubble 14", Category.DECORATIONS, font, "N", this)); - cliparts.add(new FontClipart("bubble 15", Category.DECORATIONS, font, "O", this)); - cliparts.add(new FontClipart("bubble 16", Category.DECORATIONS, font, "P", this)); - cliparts.add(new FontClipart("bubble 17", Category.DECORATIONS, font, "Q", this)); - cliparts.add(new FontClipart("bubble 18", Category.DECORATIONS, font, "R", this)); - cliparts.add(new FontClipart("bubble 19", Category.DECORATIONS, font, "S", this)); - cliparts.add(new FontClipart("bubble 20", Category.DECORATIONS, font, "T", this)); - } - - @Override - public String getName() { - return "Komika Bubbles"; - } - - @Override - public String getCredits() { - return "Apostrophic Lab"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/komika-bubbles-font-f404"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate1Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate1Source.java deleted file mode 100644 index 5d62470536..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate1Source.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class LogoSkate1Source extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public LogoSkate1Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, LogoSkate1Source.class.getResourceAsStream("/fonts/logoskate-1/Logoskate-Md4x.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("DC", Category.LOGOS, font, "0", this)); - cliparts.add(new FontClipart("sign2", Category.LOGOS, font, "1", this)); - cliparts.add(new FontClipart("sign3", Category.LOGOS, font, "2", this)); - cliparts.add(new FontClipart("sign4", Category.LOGOS, font, "3", this)); - cliparts.add(new FontClipart("sign5", Category.LOGOS, font, "4", this)); - cliparts.add(new FontClipart("X games", Category.LOGOS, font, "5", this)); - cliparts.add(new FontClipart("Royal", Category.LOGOS, font, "6", this)); - cliparts.add(new FontClipart("Think", Category.LOGOS, font, "7", this)); - cliparts.add(new FontClipart("Vans off the wall", Category.LOGOS, font, "8", this)); - cliparts.add(new FontClipart("sign11", Category.LOGOS, font, "A", this)); - cliparts.add(new FontClipart("Flip", Category.LOGOS, font, "B", this)); - cliparts.add(new FontClipart("Osiris", Category.LOGOS, font, "C", this)); - cliparts.add(new FontClipart("Independent Truck Company", Category.LOGOS, font, "D", this)); - cliparts.add(new FontClipart("Adio", Category.LOGOS, font, "E", this)); - cliparts.add(new FontClipart("Darkstar", Category.LOGOS, font, "F", this)); - cliparts.add(new FontClipart("Globe", Category.LOGOS, font, "G", this)); - cliparts.add(new FontClipart("Fallen", Category.LOGOS, font, "H", this)); - cliparts.add(new FontClipart("Baker", Category.LOGOS, font, "I", this)); - cliparts.add(new FontClipart("DVS", Category.LOGOS, font, "J", this)); - cliparts.add(new FontClipart("Zero", Category.LOGOS, font, "K", this)); - cliparts.add(new FontClipart("sign22", Category.LOGOS, font, "L", this)); - cliparts.add(new FontClipart("sign23", Category.LOGOS, font, "M", this)); - cliparts.add(new FontClipart("Adio", Category.LOGOS, font, "N", this)); - cliparts.add(new FontClipart("Burton", Category.LOGOS, font, "O", this)); - cliparts.add(new FontClipart("Mystery", Category.LOGOS, font, "P", this)); - cliparts.add(new FontClipart("Shorty's", Category.LOGOS, font, "Q", this)); - cliparts.add(new FontClipart("Ricta", Category.LOGOS, font, "R", this)); - cliparts.add(new FontClipart("Santa Cruz", Category.LOGOS, font, "S", this)); - cliparts.add(new FontClipart("Tensor", Category.LOGOS, font, "T", this)); - cliparts.add(new FontClipart("Thrasher", Category.LOGOS, font, "U", this)); - cliparts.add(new FontClipart("sign32", Category.LOGOS, font, "V", this)); - cliparts.add(new FontClipart("Volcom", Category.LOGOS, font, "W", this)); - cliparts.add(new FontClipart("sign34", Category.LOGOS, font, "X", this)); - cliparts.add(new FontClipart("Toy machine", Category.LOGOS, font, "Y", this)); - cliparts.add(new FontClipart("sign36", Category.LOGOS, font, "Z", this)); - cliparts.add(new FontClipart("Vans", Category.LOGOS, font, "a", this)); - cliparts.add(new FontClipart("sign38", Category.LOGOS, font, "b", this)); - cliparts.add(new FontClipart("Sector 9", Category.LOGOS, font, "c", this)); - cliparts.add(new FontClipart("Rip Curl", Category.LOGOS, font, "d", this)); - cliparts.add(new FontClipart("sign41", Category.LOGOS, font, "e", this)); - cliparts.add(new FontClipart("sign42", Category.LOGOS, font, "f", this)); - cliparts.add(new FontClipart("Es", Category.LOGOS, font, "g", this)); - cliparts.add(new FontClipart("Path", Category.LOGOS, font, "h", this)); - cliparts.add(new FontClipart("Bones", Category.LOGOS, font, "i", this)); - cliparts.add(new FontClipart("Termite", Category.LOGOS, font, "j", this)); - cliparts.add(new FontClipart("sign47", Category.LOGOS, font, "k", this)); - cliparts.add(new FontClipart("Supra", Category.LOGOS, font, "l", this)); - cliparts.add(new FontClipart("Black label", Category.LOGOS, font, "m", this)); - cliparts.add(new FontClipart("Billabong", Category.LOGOS, font, "n", this)); - cliparts.add(new FontClipart("Hurley", Category.LOGOS, font, "o", this)); - cliparts.add(new FontClipart("Chocolate", Category.LOGOS, font, "p", this)); - cliparts.add(new FontClipart("Habitat", Category.LOGOS, font, "q", this)); - cliparts.add(new FontClipart("sign54", Category.LOGOS, font, "r", this)); - cliparts.add(new FontClipart("Gangsta", Category.LOGOS, font, "s", this)); - cliparts.add(new FontClipart("sign56", Category.LOGOS, font, "t", this)); - cliparts.add(new FontClipart("Old industries", Category.LOGOS, font, "u", this)); - cliparts.add(new FontClipart("sign58", Category.LOGOS, font, "v", this)); - cliparts.add(new FontClipart("Alien workshop", Category.LOGOS, font, "w", this)); - } - - @Override - public String getName() { - return "Logoskate 1"; - } - - @Override - public String getCredits() { - return "RASDESIGN"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/logoskate-font-f13141"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate2Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate2Source.java deleted file mode 100644 index d2838185dc..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/LogoSkate2Source.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class LogoSkate2Source extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public LogoSkate2Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, LogoSkate2Source.class.getResourceAsStream("/fonts/logoskate-2/Logoskate20-KEgD.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("sign1", Category.LOGOS, font, "A", this)); - cliparts.add(new FontClipart("Circa", Category.LOGOS, font, "B", this)); - cliparts.add(new FontClipart("Blind", Category.LOGOS, font, "C", this)); - cliparts.add(new FontClipart("Hawk", Category.LOGOS, font, "D", this)); - cliparts.add(new FontClipart("sign5", Category.LOGOS, font, "E", this)); - cliparts.add(new FontClipart("Bones", Category.LOGOS, font, "F", this)); - cliparts.add(new FontClipart("DGK", Category.LOGOS, font, "G", this)); - cliparts.add(new FontClipart("Popwar", Category.LOGOS, font, "H", this)); - cliparts.add(new FontClipart("Organika", Category.LOGOS, font, "I", this)); - cliparts.add(new FontClipart("Lost", Category.LOGOS, font, "J", this)); - cliparts.add(new FontClipart("Roxy", Category.LOGOS, font, "K", this)); - cliparts.add(new FontClipart("sign12", Category.LOGOS, font, "L", this)); - cliparts.add(new FontClipart("Adio", Category.LOGOS, font, "M", this)); - cliparts.add(new FontClipart("sign14", Category.LOGOS, font, "N", this)); - cliparts.add(new FontClipart("sign15", Category.LOGOS, font, "O", this)); - cliparts.add(new FontClipart("sign16", Category.LOGOS, font, "P", this)); - cliparts.add(new FontClipart("Krooked", Category.LOGOS, font, "Q", this)); - cliparts.add(new FontClipart("sign18", Category.LOGOS, font, "R", this)); - cliparts.add(new FontClipart("Fox", Category.LOGOS, font, "S", this)); - cliparts.add(new FontClipart("Duffed", Category.LOGOS, font, "T", this)); - cliparts.add(new FontClipart("sign21", Category.LOGOS, font, "U", this)); - cliparts.add(new FontClipart("Matix", Category.LOGOS, font, "V", this)); - cliparts.add(new FontClipart("Kana Beach", Category.LOGOS, font, "W", this)); - cliparts.add(new FontClipart("Atticus", Category.LOGOS, font, "X", this)); - cliparts.add(new FontClipart("Creature", Category.LOGOS, font, "Y", this)); - cliparts.add(new FontClipart("LRG", Category.LOGOS, font, "Z", this)); - cliparts.add(new FontClipart("sign27", Category.LOGOS, font, "a", this)); - cliparts.add(new FontClipart("VC", Category.LOGOS, font, "b", this)); - cliparts.add(new FontClipart("Circa", Category.LOGOS, font, "c", this)); - cliparts.add(new FontClipart("sign30", Category.LOGOS, font, "d", this)); - cliparts.add(new FontClipart("Chimson", Category.LOGOS, font, "e", this)); - cliparts.add(new FontClipart("Sk8mafia", Category.LOGOS, font, "f", this)); - cliparts.add(new FontClipart("Hookups", Category.LOGOS, font, "g", this)); - cliparts.add(new FontClipart("sign34", Category.LOGOS, font, "h", this)); - cliparts.add(new FontClipart("GvR", Category.LOGOS, font, "i", this)); - cliparts.add(new FontClipart("Jart", Category.LOGOS, font, "j", this)); - cliparts.add(new FontClipart("Enjoi", Category.LOGOS, font, "k", this)); - cliparts.add(new FontClipart("Jart", Category.LOGOS, font, "l", this)); - cliparts.add(new FontClipart("Mini LOGO", Category.LOGOS, font, "m", this)); - cliparts.add(new FontClipart("Riviera", Category.LOGOS, font, "n", this)); - cliparts.add(new FontClipart("Soeed Demon", Category.LOGOS, font, "o", this)); - cliparts.add(new FontClipart("City Stars", Category.LOGOS, font, "p", this)); - cliparts.add(new FontClipart("Dooks", Category.LOGOS, font, "q", this)); - cliparts.add(new FontClipart("Inees", Category.LOGOS, font, "r", this)); - cliparts.add(new FontClipart("Gravis", Category.LOGOS, font, "s", this)); - cliparts.add(new FontClipart("sign46", Category.LOGOS, font, "t", this)); - cliparts.add(new FontClipart("Elwood", Category.LOGOS, font, "u", this)); - cliparts.add(new FontClipart("Diamond", Category.LOGOS, font, "v", this)); - cliparts.add(new FontClipart("Volcom", Category.LOGOS, font, "w", this)); - } - - @Override - public String getName() { - return "Logoskate 2"; - } - - @Override - public String getCredits() { - return "RASDESIGN"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/logoskate-font-f13141"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/MythicalSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/MythicalSource.java deleted file mode 100644 index b50b3a3cc6..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/MythicalSource.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class MythicalSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public MythicalSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, MythicalSource.class.getResourceAsStream("/fonts/mythical/MythicalAndHopliteNoodgies-gwOP.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Chariot", Category.MYTHICAL, font, "A", this)); - cliparts.add(new FontClipart("Musician", Category.PEOPLE_AND_CHARACTERS, font, "D", this)); - cliparts.add(new FontClipart("Feet", Category.SIGNS_AND_SYMBOLS, font, "E", this)); - cliparts.add(new FontClipart("Warrior 1", Category.PEOPLE_AND_CHARACTERS, font, "J", this)); - cliparts.add(new FontClipart("Warrior 2", Category.PEOPLE_AND_CHARACTERS, font, "K", this)); - cliparts.add(new FontClipart("Warrior 3", Category.PEOPLE_AND_CHARACTERS, font, "L", this)); - cliparts.add(new FontClipart("Warrior 4", Category.PEOPLE_AND_CHARACTERS, font, "M", this)); - cliparts.add(new FontClipart("Warrior 5", Category.PEOPLE_AND_CHARACTERS, font, "N", this)); - cliparts.add(new FontClipart("Warrior 6", Category.PEOPLE_AND_CHARACTERS, font, "O", this)); - cliparts.add(new FontClipart("Warrior 7", Category.PEOPLE_AND_CHARACTERS, font, "P", this)); - cliparts.add(new FontClipart("Warrior 8", Category.PEOPLE_AND_CHARACTERS, font, "G", this)); - cliparts.add(new FontClipart("Warrior 9", Category.PEOPLE_AND_CHARACTERS, font, "H", this)); - cliparts.add(new FontClipart("Warrior 10", Category.PEOPLE_AND_CHARACTERS, font, "I", this)); - cliparts.add(new FontClipart("Warrior 11", Category.PEOPLE_AND_CHARACTERS, font, "F", this)); - cliparts.add(new FontClipart("Warrior 12", Category.PEOPLE_AND_CHARACTERS, font, "C", this)); - cliparts.add(new FontClipart("Warrior 13", Category.PEOPLE_AND_CHARACTERS, font, "B", this)); - cliparts.add(new FontClipart("Snake", Category.ANIMALS, font, "Q", this)); - cliparts.add(new FontClipart("Sphinx 1", Category.MYTHICAL, font, "R", this)); - cliparts.add(new FontClipart("Antelope", Category.ANIMALS, font, "S", this)); - cliparts.add(new FontClipart("Lion", Category.ANIMALS, font, "T", this)); - cliparts.add(new FontClipart("Pegasus", Category.MYTHICAL, font, "U", this)); - cliparts.add(new FontClipart("Leopard", Category.ANIMALS, font, "V", this)); - cliparts.add(new FontClipart("Rooster", Category.ANIMALS, font, "W", this)); - cliparts.add(new FontClipart("Octopus", Category.ANIMALS, font, "X", this)); - cliparts.add(new FontClipart("Face plate", Category.SIGNS_AND_SYMBOLS, font, "Y", this)); - cliparts.add(new FontClipart("Dolphin", Category.ANIMALS, font, "Z", this)); - cliparts.add(new FontClipart("Pegasus", Category.MYTHICAL, font, "a", this)); - cliparts.add(new FontClipart("?", Category.SIGNS_AND_SYMBOLS, font, "b", this)); - cliparts.add(new FontClipart("Minotaur", Category.MYTHICAL, font, "c", this)); - cliparts.add(new FontClipart("Skull and helment", Category.SIGNS_AND_SYMBOLS, font, "d", this)); - cliparts.add(new FontClipart("Centaur", Category.MYTHICAL, font, "e", this)); - cliparts.add(new FontClipart("Cyclops", Category.MYTHICAL, font, "f", this)); - cliparts.add(new FontClipart("Medusa", Category.MYTHICAL, font, "g", this)); - cliparts.add(new FontClipart("Mermaid", Category.MYTHICAL, font, "h", this)); - cliparts.add(new FontClipart("Winged man", Category.PEOPLE_AND_CHARACTERS, font, "i", this)); - cliparts.add(new FontClipart("Sphinx 2", Category.MYTHICAL, font, "j", this)); - cliparts.add(new FontClipart("Cherub", Category.MYTHICAL, font, "k", this)); - cliparts.add(new FontClipart("Ship ancient greece", Category.TRANSPORTATION, font, "l", this)); - cliparts.add(new FontClipart("Runner", Category.PEOPLE_AND_CHARACTERS, font, "m", this)); - cliparts.add(new FontClipart("mythical 41", Category.MYTHICAL, font, "n", this)); - cliparts.add(new FontClipart("mythical 42", Category.MYTHICAL, font, "o", this)); - cliparts.add(new FontClipart("mythical 43", Category.MYTHICAL, font, "p", this)); - cliparts.add(new FontClipart("Worker", Category.PEOPLE_AND_CHARACTERS, font, "q", this)); - cliparts.add(new FontClipart("Cherberus", Category.MYTHICAL, font, "r", this)); - cliparts.add(new FontClipart("Harp", Category.TOOLS, font, "s", this)); - cliparts.add(new FontClipart("mythical 47", Category.MYTHICAL, font, "t", this)); - cliparts.add(new FontClipart("mythical 48", Category.MYTHICAL, font, "u", this)); - cliparts.add(new FontClipart("Zeus", Category.MYTHICAL, font, "v", this)); - cliparts.add(new FontClipart("Trojan horse", Category.MYTHICAL, font, "w", this)); - cliparts.add(new FontClipart("Griffin", Category.MYTHICAL, font, "x", this)); - cliparts.add(new FontClipart("Harpies", Category.MYTHICAL, font, "y", this)); - } - - @Override - public String getName() { - return "Mythical & Hoplite Noodgies Font\n"; - } - - @Override - public String getCredits() { - return "Walter Velez"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/mythical-and-hoplite-noodgies-font-f3780"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SealifeSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SealifeSource.java deleted file mode 100644 index 0a916921cc..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SealifeSource.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class SealifeSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public SealifeSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, SealifeSource.class.getResourceAsStream("/fonts/sealife/Sealife-o140.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("turtle", Category.ANIMALS, font.deriveFont(font.getSize() * 0.7f), "A", this)); - cliparts.add(new FontClipart("decorations 1", Category.DECORATIONS, font, "B", this)); - cliparts.add(new FontClipart("decorations 2", Category.DECORATIONS, font.deriveFont(font.getSize() * 0.4f), "C", this)); - cliparts.add(new FontClipart("decorations 3", Category.DECORATIONS, font, "D", this)); - cliparts.add(new FontClipart("decorations 4", Category.DECORATIONS, font, "E", this)); - cliparts.add(new FontClipart("decorations 5", Category.DECORATIONS, font, "F", this)); - cliparts.add(new FontClipart("seahorse", Category.ANIMALS, font, "G", this)); - cliparts.add(new FontClipart("mythical 1", Category.MYTHICAL, font, "H", this)); - cliparts.add(new FontClipart("mythical 2", Category.MYTHICAL, font, "I", this)); - cliparts.add(new FontClipart("shrimp", Category.ANIMALS, font, "J", this)); - cliparts.add(new FontClipart("flower", Category.DECORATIONS, font.deriveFont(font.getSize() * 0.5f), "K", this)); - cliparts.add(new FontClipart("shell 1", Category.ANIMALS, font, "L", this)); - cliparts.add(new FontClipart("shell 2", Category.ANIMALS, font, "M", this)); - cliparts.add(new FontClipart("shell 3", Category.ANIMALS, font, "N", this)); - cliparts.add(new FontClipart("shell 4", Category.ANIMALS, font, "O", this)); - cliparts.add(new FontClipart("shell 5", Category.ANIMALS, font, "P", this)); - cliparts.add(new FontClipart("shell 6", Category.ANIMALS, font, "Q", this)); - cliparts.add(new FontClipart("octopus", Category.ANIMALS, font.deriveFont(font.getSize() * 0.9f), "R", this)); - cliparts.add(new FontClipart("lobster", Category.ANIMALS, font, "S", this)); - cliparts.add(new FontClipart("shrimp", Category.ANIMALS, font.deriveFont(font.getSize() * 0.8f), "T", this)); - cliparts.add(new FontClipart("crab", Category.ANIMALS, font.deriveFont(font.getSize() * 0.8f), "U", this)); - cliparts.add(new FontClipart("decorations 6", Category.DECORATIONS, font, "V", this)); - cliparts.add(new FontClipart("decorations 7", Category.DECORATIONS, font, "W", this)); - cliparts.add(new FontClipart("decorations 8", Category.DECORATIONS, font, "X", this)); - } - - @Override - public String getName() { - return "Sealife"; - } - - @Override - public String getCredits() { - return "Sassy Graphics"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/sealife-font-f9793"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SugarComaSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SugarComaSource.java deleted file mode 100644 index 97a200418d..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/SugarComaSource.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class SugarComaSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public SugarComaSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, SugarComaSource.class.getResourceAsStream("/fonts/sugar-coma-font/SugarComa-nVV.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Soda", Category.FOOD, font, "A", this)); - cliparts.add(new FontClipart("Cookie", Category.FOOD, font, "B", this)); - cliparts.add(new FontClipart("Muffin", Category.FOOD, font, "C", this)); - cliparts.add(new FontClipart("Cookies", Category.FOOD, font, "D", this)); - cliparts.add(new FontClipart("Hot coco", Category.FOOD, font, "E", this)); - cliparts.add(new FontClipart("Ice cream 2", Category.FOOD, font, "F", this)); - cliparts.add(new FontClipart("Chocolate kiss", Category.FOOD, font, "G", this)); - cliparts.add(new FontClipart("Lollipop 2", Category.FOOD, font, "H", this)); - cliparts.add(new FontClipart("M&M", Category.FOOD, font, "I", this)); - cliparts.add(new FontClipart("Pie", Category.FOOD, font, "J", this)); - cliparts.add(new FontClipart("Ice cream", Category.FOOD, font, "K", this)); - cliparts.add(new FontClipart("Milk shake", Category.FOOD, font, "L", this)); - cliparts.add(new FontClipart("Strawberry", Category.FOOD, font, "M", this)); - cliparts.add(new FontClipart("Food 12", Category.FOOD, font, "N", this)); - cliparts.add(new FontClipart("Chocolate bar", Category.FOOD, font.deriveFont(font.getSize() * 0.8f), "O", this)); - cliparts.add(new FontClipart("Cake", Category.FOOD, font, "P", this)); - cliparts.add(new FontClipart("Doughnut", Category.FOOD, font, "Q", this)); - cliparts.add(new FontClipart("Candy 3", Category.FOOD, font, "R", this)); - cliparts.add(new FontClipart("Soda 3", Category.FOOD, font, "S", this)); - cliparts.add(new FontClipart("Candy", Category.FOOD, font, "T", this)); - cliparts.add(new FontClipart("Sugar", Category.FOOD, font, "U", this)); - cliparts.add(new FontClipart("Lollipop", Category.FOOD, font, "V", this)); - cliparts.add(new FontClipart("Ice cream cone", Category.FOOD, font, "W", this)); - cliparts.add(new FontClipart("Soda 2", Category.FOOD, font, "X", this)); - cliparts.add(new FontClipart("Cookie 2", Category.FOOD, font, "Y", this)); - } - - @Override - public String getName() { - return "Sugar Coma"; - } - - @Override - public String getCredits() { - return "Blue Vinyl"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/sugar-coma-font-f980"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ToolSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ToolSource.java deleted file mode 100644 index f41eeda788..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/ToolSource.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class ToolSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public ToolSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, ToolSource.class.getResourceAsStream("/fonts/tool/tool.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Allen key", Category.TOOLS, font, "A", this)); - cliparts.add(new FontClipart("Axe", Category.TOOLS, font, "B", this)); - cliparts.add(new FontClipart("Crow bar", Category.TOOLS, font, "C", this)); - cliparts.add(new FontClipart("Screw driver 1", Category.TOOLS, font, "D", this)); - cliparts.add(new FontClipart("Calipers", Category.TOOLS, font, "E", this)); - cliparts.add(new FontClipart("Hammer", Category.TOOLS, font, "F", this)); - cliparts.add(new FontClipart("Clamp", Category.TOOLS, font, "G", this)); - cliparts.add(new FontClipart("Saw 1", Category.TOOLS, font.deriveFont(font.getSize() * 0.8f), "H", this)); - cliparts.add(new FontClipart("Sledge", Category.TOOLS, font, "I", this)); - cliparts.add(new FontClipart("Poly grip", Category.TOOLS, font, "J", this)); - cliparts.add(new FontClipart("Pliers 1", Category.TOOLS, font, "K", this)); - cliparts.add(new FontClipart("Ring spanner", Category.TOOLS, font, "L", this)); - cliparts.add(new FontClipart("Hammer", Category.TOOLS, font, "M", this)); - cliparts.add(new FontClipart("Pliers 2", Category.TOOLS, font, "N", this)); - cliparts.add(new FontClipart("Spatula", Category.TOOLS, font, "O", this)); - cliparts.add(new FontClipart("Pipe wrench", Category.TOOLS, font, "P", this)); - cliparts.add(new FontClipart("Fixed spanner", Category.TOOLS, font, "Q", this)); - cliparts.add(new FontClipart("Carpet knife", Category.TOOLS, font, "R", this)); - cliparts.add(new FontClipart("Saw 2", Category.TOOLS, font.deriveFont(font.getSize() * 0.8f), "S", this)); - cliparts.add(new FontClipart("Tape", Category.TOOLS, font, "T", this)); - cliparts.add(new FontClipart("Glue gun", Category.TOOLS, font, "U", this)); - cliparts.add(new FontClipart("Planer", Category.TOOLS, font, "V", this)); - cliparts.add(new FontClipart("Fixed spanner 2", Category.TOOLS, font, "W", this)); - cliparts.add(new FontClipart("Screw driver 2", Category.TOOLS, font, "X", this)); - cliparts.add(new FontClipart("Pliers 3", Category.TOOLS, font, "Y", this)); - cliparts.add(new FontClipart("Scissor", Category.TOOLS, font, "Z", this)); - cliparts.add(new FontClipart("Screw", Category.TOOLS, font, "0", this)); - cliparts.add(new FontClipart("Pallet", Category.TOOLS, font, "2", this)); - cliparts.add(new FontClipart("Multi tool", Category.TOOLS, font, "3", this)); - cliparts.add(new FontClipart("Saw 3", Category.TOOLS, font.deriveFont(font.getSize() * 0.7f), "\"", this)); - cliparts.add(new FontClipart("Screw driver 3", Category.TOOLS, font, "5", this)); - cliparts.add(new FontClipart("Screw driver 4", Category.TOOLS, font, "6", this)); - cliparts.add(new FontClipart("Wrench", Category.TOOLS, font, "7", this)); - cliparts.add(new FontClipart("Tweezers", Category.TOOLS, font, "9", this)); - cliparts.add(new FontClipart("Flashlight", Category.TOOLS, font, "?", this)); - cliparts.add(new FontClipart("Nut", Category.TOOLS, font, "+", this)); - cliparts.add(new FontClipart("Tape measure", Category.TOOLS, font, "<", this)); - cliparts.add(new FontClipart("Angle hook", Category.TOOLS, font, "[", this)); - cliparts.add(new FontClipart("Ladder", Category.TOOLS, font, ".", this)); - cliparts.add(new FontClipart("Hook", Category.TOOLS, font, ";", this)); - cliparts.add(new FontClipart("Pliers", Category.TOOLS, font, "\\", this)); - cliparts.add(new FontClipart("Nail", Category.TOOLS, font, "_", this)); - cliparts.add(new FontClipart("Multi spanner", Category.TOOLS, font, "~", this)); - - } - - @Override - public String getName() { - return "Tool"; - } - - @Override - public String getCredits() { - return "Daniel Zadorozny"; - } - - @Override - public String getUrl() { - return "https://www.dafont.com/tool.font"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TransdingsSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TransdingsSource.java deleted file mode 100644 index 5f4aca98b7..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TransdingsSource.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class TransdingsSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public TransdingsSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, TransdingsSource.class.getResourceAsStream("/fonts/transdings/Transdings-WaoO.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Transformers Sector7", Category.SIGNS_AND_SYMBOLS, font, ",", this)); - cliparts.add(new FontClipart("Transformers 02", Category.SIGNS_AND_SYMBOLS, font, ".", this)); - cliparts.add(new FontClipart("Transformers 03", Category.SIGNS_AND_SYMBOLS, font, "0", this)); - cliparts.add(new FontClipart("Transformers 04", Category.SIGNS_AND_SYMBOLS, font, "1", this)); - cliparts.add(new FontClipart("Transformers 05", Category.SIGNS_AND_SYMBOLS, font, "2", this)); - cliparts.add(new FontClipart("Transformers 06", Category.SIGNS_AND_SYMBOLS, font, "3", this)); - cliparts.add(new FontClipart("Transformers 07", Category.SIGNS_AND_SYMBOLS, font, "4", this)); - cliparts.add(new FontClipart("Transformers 09", Category.SIGNS_AND_SYMBOLS, font, "5", this)); - cliparts.add(new FontClipart("Transformers 10", Category.SIGNS_AND_SYMBOLS, font, ":", this)); - cliparts.add(new FontClipart("Transformers 11", Category.SIGNS_AND_SYMBOLS, font, ";", this)); - cliparts.add(new FontClipart("Transformers 12", Category.SIGNS_AND_SYMBOLS, font, "@", this)); - cliparts.add(new FontClipart("Transformers Autobot 1", Category.SIGNS_AND_SYMBOLS, font, "A", this)); - cliparts.add(new FontClipart("Transformers 14", Category.SIGNS_AND_SYMBOLS, font, "B", this)); - cliparts.add(new FontClipart("Transformers 15", Category.SIGNS_AND_SYMBOLS, font, "C", this)); - cliparts.add(new FontClipart("Transformers 16", Category.SIGNS_AND_SYMBOLS, font, "D", this)); - cliparts.add(new FontClipart("Transformers 17", Category.SIGNS_AND_SYMBOLS, font, "E", this)); - cliparts.add(new FontClipart("Transformers 18", Category.SIGNS_AND_SYMBOLS, font, "F", this)); - cliparts.add(new FontClipart("Transformers 19", Category.SIGNS_AND_SYMBOLS, font, "G", this)); - cliparts.add(new FontClipart("Transformers 20", Category.SIGNS_AND_SYMBOLS, font, "H", this)); - cliparts.add(new FontClipart("Transformers 21", Category.SIGNS_AND_SYMBOLS, font, "I", this)); - cliparts.add(new FontClipart("Transformers 22", Category.SIGNS_AND_SYMBOLS, font, "J", this)); - cliparts.add(new FontClipart("Transformers 23", Category.SIGNS_AND_SYMBOLS, font, "K", this)); - cliparts.add(new FontClipart("Transformers 24", Category.SIGNS_AND_SYMBOLS, font, "L", this)); - cliparts.add(new FontClipart("Transformers 25", Category.SIGNS_AND_SYMBOLS, font, "M", this)); - cliparts.add(new FontClipart("Transformers Autobot 2", Category.SIGNS_AND_SYMBOLS, font, "N", this)); - cliparts.add(new FontClipart("Transformers Autobot 3", Category.SIGNS_AND_SYMBOLS, font, "O", this)); - cliparts.add(new FontClipart("Transformers Wreckers", Category.SIGNS_AND_SYMBOLS, font, "P", this)); - cliparts.add(new FontClipart("Transformers Autobot 5", Category.SIGNS_AND_SYMBOLS, font, "Q", this)); - cliparts.add(new FontClipart("Transformers 30", Category.SIGNS_AND_SYMBOLS, font, "R", this)); - cliparts.add(new FontClipart("Transformers 31", Category.SIGNS_AND_SYMBOLS, font, "S", this)); - cliparts.add(new FontClipart("Transformers Autobot 5", Category.SIGNS_AND_SYMBOLS, font, "T", this)); - cliparts.add(new FontClipart("Transformers 33", Category.SIGNS_AND_SYMBOLS, font, "V", this)); - cliparts.add(new FontClipart("Transformers 34", Category.SIGNS_AND_SYMBOLS, font, "W", this)); - cliparts.add(new FontClipart("Transformers 35", Category.SIGNS_AND_SYMBOLS, font, "X", this)); - cliparts.add(new FontClipart("Transformers 36", Category.SIGNS_AND_SYMBOLS, font, "Y", this)); - cliparts.add(new FontClipart("Transformers 37", Category.SIGNS_AND_SYMBOLS, font, "Z", this)); - cliparts.add(new FontClipart("Transformers 38", Category.SIGNS_AND_SYMBOLS, font, "[", this)); - cliparts.add(new FontClipart("Transformers 39", Category.SIGNS_AND_SYMBOLS, font, "\\", this)); - cliparts.add(new FontClipart("Transformers Decepticons 4", Category.SIGNS_AND_SYMBOLS, font, "]", this)); - cliparts.add(new FontClipart("Transformers 41", Category.SIGNS_AND_SYMBOLS, font, "`", this)); - cliparts.add(new FontClipart("Transformers Decepticons 1", Category.SIGNS_AND_SYMBOLS, font, "a", this)); - cliparts.add(new FontClipart("Transformers 43", Category.SIGNS_AND_SYMBOLS, font, "b", this)); - cliparts.add(new FontClipart("Transformers 44", Category.SIGNS_AND_SYMBOLS, font, "c", this)); - cliparts.add(new FontClipart("Transformers 45", Category.SIGNS_AND_SYMBOLS, font, "d", this)); - cliparts.add(new FontClipart("Transformers 46", Category.SIGNS_AND_SYMBOLS, font, "e", this)); - cliparts.add(new FontClipart("Transformers 47", Category.SIGNS_AND_SYMBOLS, font, "f", this)); - cliparts.add(new FontClipart("Transformers 48", Category.SIGNS_AND_SYMBOLS, font, "g", this)); - cliparts.add(new FontClipart("Transformers 49", Category.SIGNS_AND_SYMBOLS, font, "h", this)); - cliparts.add(new FontClipart("Transformers 50", Category.SIGNS_AND_SYMBOLS, font, "i", this)); - cliparts.add(new FontClipart("Transformers 51", Category.SIGNS_AND_SYMBOLS, font, "j", this)); - cliparts.add(new FontClipart("Transformers 52", Category.SIGNS_AND_SYMBOLS, font, "k", this)); - cliparts.add(new FontClipart("Transformers 53", Category.SIGNS_AND_SYMBOLS, font, "l", this)); - cliparts.add(new FontClipart("Transformers 54", Category.SIGNS_AND_SYMBOLS, font, "m", this)); - cliparts.add(new FontClipart("Transformers 55", Category.SIGNS_AND_SYMBOLS, font, "n", this)); - cliparts.add(new FontClipart("Transformers 56", Category.SIGNS_AND_SYMBOLS, font, "o", this)); - cliparts.add(new FontClipart("Transformers Decepticons 2", Category.SIGNS_AND_SYMBOLS, font, "p", this)); - cliparts.add(new FontClipart("Transformers 58", Category.SIGNS_AND_SYMBOLS, font, "q", this)); - cliparts.add(new FontClipart("Transformers 59", Category.SIGNS_AND_SYMBOLS, font, "r", this)); - cliparts.add(new FontClipart("Transformers 60", Category.SIGNS_AND_SYMBOLS, font, "s", this)); - cliparts.add(new FontClipart("Transformers Ultracon", Category.SIGNS_AND_SYMBOLS, font, "t", this)); - cliparts.add(new FontClipart("Transformers 62", Category.SIGNS_AND_SYMBOLS, font, "u", this)); - cliparts.add(new FontClipart("Transformers 63", Category.SIGNS_AND_SYMBOLS, font, "v", this)); - cliparts.add(new FontClipart("Transformers 64", Category.SIGNS_AND_SYMBOLS, font, "w", this)); - cliparts.add(new FontClipart("Transformers Decepticons 3", Category.SIGNS_AND_SYMBOLS, font, "x", this)); - cliparts.add(new FontClipart("Transformers 66", Category.SIGNS_AND_SYMBOLS, font, "y", this)); - cliparts.add(new FontClipart("Transformers 67", Category.SIGNS_AND_SYMBOLS, font, "z", this)); - cliparts.add(new FontClipart("Transformers 69", Category.SIGNS_AND_SYMBOLS, font, "~", this)); - cliparts.add(new FontClipart("Transformers 70", Category.SIGNS_AND_SYMBOLS, font, ";", this)); - } - - @Override - public String getName() { - return "Transdings"; - } - - @Override - public String getCredits() { - return "Pixel Sagas"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/transdings-font-f18144"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TravelconsSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TravelconsSource.java deleted file mode 100644 index fdc5e9eaa4..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TravelconsSource.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class TravelconsSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public TravelconsSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, TravelconsSource.class.getResourceAsStream("/fonts/travelcons/travelcons.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Ship", Category.TRANSPORTATION, font, "A", this)); - cliparts.add(new FontClipart("Drink", Category.FOOD, font, "B", this)); - cliparts.add(new FontClipart("Camping", Category.SIGNS_AND_SYMBOLS, font.deriveFont(font.getSize() * 0.8f), "C", this)); - cliparts.add(new FontClipart("Bus and Taxi", Category.TRANSPORTATION, font.deriveFont(font.getSize() * 0.7f), "D", this)); - cliparts.add(new FontClipart("Wheelchair", Category.SIGNS_AND_SYMBOLS, font, "E", this)); - cliparts.add(new FontClipart("Restaurant", Category.SIGNS_AND_SYMBOLS, font, "F", this)); - cliparts.add(new FontClipart("Gift shop", Category.SIGNS_AND_SYMBOLS, font, "G", this)); - cliparts.add(new FontClipart("Helicopter", Category.TRANSPORTATION, font, "H", this)); - cliparts.add(new FontClipart("Passport control", Category.SIGNS_AND_SYMBOLS, font, "I", this)); - cliparts.add(new FontClipart("Accessories", Category.SIGNS_AND_SYMBOLS, font, "J", this)); - cliparts.add(new FontClipart("Closet", Category.SIGNS_AND_SYMBOLS, font, "K", this)); - cliparts.add(new FontClipart("Reading", Category.SIGNS_AND_SYMBOLS, font, "L", this)); - cliparts.add(new FontClipart("Hospital", Category.SIGNS_AND_SYMBOLS, font, "M", this)); - cliparts.add(new FontClipart("Fire extinguisher", Category.SIGNS_AND_SYMBOLS, font, "N", this)); - cliparts.add(new FontClipart("Emergency", Category.SIGNS_AND_SYMBOLS, font, "O", this)); - cliparts.add(new FontClipart("Boat", Category.TRANSPORTATION, font, "P", this)); - cliparts.add(new FontClipart("Question", Category.SIGNS_AND_SYMBOLS, font, "Q", this)); - cliparts.add(new FontClipart("Car key", Category.SIGNS_AND_SYMBOLS, font, "R", this)); - cliparts.add(new FontClipart("Electrical", Category.SIGNS_AND_SYMBOLS, font, "S", this)); - cliparts.add(new FontClipart("Passport control", Category.SIGNS_AND_SYMBOLS, font, "T", this)); - cliparts.add(new FontClipart("Recycle", Category.SIGNS_AND_SYMBOLS, font, "U", this)); - cliparts.add(new FontClipart("Exit", Category.SIGNS_AND_SYMBOLS, font, "V", this)); - cliparts.add(new FontClipart("Water", Category.SIGNS_AND_SYMBOLS, font, "W", this)); - cliparts.add(new FontClipart("Restroom", Category.SIGNS_AND_SYMBOLS, font, "X", this)); - cliparts.add(new FontClipart("Hair salon", Category.SIGNS_AND_SYMBOLS, font, "Y", this)); - cliparts.add(new FontClipart("Baggage", Category.SIGNS_AND_SYMBOLS, font, "Z", this)); - cliparts.add(new FontClipart("Airplane", Category.TRANSPORTATION, font, "a", this)); - cliparts.add(new FontClipart("Bus", Category.TRANSPORTATION, font, "b", this)); - cliparts.add(new FontClipart("Coffey", Category.FOOD, font, "c", this)); - cliparts.add(new FontClipart("Doctor", Category.PEOPLE_AND_CHARACTERS, font, "d", this)); - cliparts.add(new FontClipart("Escalator", Category.SIGNS_AND_SYMBOLS, font, "e", this)); - cliparts.add(new FontClipart("Fast food", Category.FOOD, font, "f", this)); - cliparts.add(new FontClipart("Shopping cart", Category.SIGNS_AND_SYMBOLS, font, "g", this)); - cliparts.add(new FontClipart("Bed", Category.SIGNS_AND_SYMBOLS, font, "h", this)); - cliparts.add(new FontClipart("Ice cream", Category.FOOD, font, "i", this)); - cliparts.add(new FontClipart("Waiting hall", Category.SIGNS_AND_SYMBOLS, font, "j", this)); - cliparts.add(new FontClipart("Blind man", Category.SIGNS_AND_SYMBOLS, font, "k", this)); - cliparts.add(new FontClipart("Baggage storage", Category.SIGNS_AND_SYMBOLS, font, "l", this)); - cliparts.add(new FontClipart("Mail", Category.SIGNS_AND_SYMBOLS, font, "m", this)); - cliparts.add(new FontClipart("Meeting hall?", Category.SIGNS_AND_SYMBOLS, font, "n", this)); - cliparts.add(new FontClipart("Money exchange", Category.SIGNS_AND_SYMBOLS, font, "o", this)); - cliparts.add(new FontClipart("Telephone", Category.SIGNS_AND_SYMBOLS, font, "p", this)); - cliparts.add(new FontClipart("Restroom - men", Category.SIGNS_AND_SYMBOLS, font, "q", this)); - cliparts.add(new FontClipart("Train", Category.TRANSPORTATION, font, "r", this)); - cliparts.add(new FontClipart("Stairs", Category.SIGNS_AND_SYMBOLS, font, "s", this)); - cliparts.add(new FontClipart("Garbage", Category.SIGNS_AND_SYMBOLS, font, "t", this)); - cliparts.add(new FontClipart("Customs", Category.SIGNS_AND_SYMBOLS, font, "u", this)); - cliparts.add(new FontClipart("Elevator", Category.SIGNS_AND_SYMBOLS, font, "v", this)); - cliparts.add(new FontClipart("Restroom - woman", Category.SIGNS_AND_SYMBOLS, font, "w", this)); - cliparts.add(new FontClipart("Taxi", Category.TRANSPORTATION, font, "x", this)); - cliparts.add(new FontClipart("Ticket", Category.SIGNS_AND_SYMBOLS, font, "y", this)); - cliparts.add(new FontClipart("Bicycle", Category.TRANSPORTATION, font.deriveFont(font.getSize() * 0.8f), "z", this)); - cliparts.add(new FontClipart("?", Category.SIGNS_AND_SYMBOLS, font, "0", this)); - cliparts.add(new FontClipart("Direction", Category.SIGNS_AND_SYMBOLS, font, "1", this)); - cliparts.add(new FontClipart("No phones", Category.SIGNS_AND_SYMBOLS, font, "5", this)); - cliparts.add(new FontClipart("No entry", Category.SIGNS_AND_SYMBOLS, font, "6", this)); - cliparts.add(new FontClipart("No smoking", Category.SIGNS_AND_SYMBOLS, font, "7", this)); - cliparts.add(new FontClipart("No parking", Category.SIGNS_AND_SYMBOLS, font, "9", this)); - } - - @Override - public String getName() { - return "Travelcons"; - } - - @Override - public String getCredits() { - return "Daniel Zadorozny"; - } - - @Override - public String getUrl() { - return "https://www.dafont.com/travelcons.font"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TropicanaSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TropicanaSource.java deleted file mode 100644 index 80cf8ec624..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/TropicanaSource.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class TropicanaSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public TropicanaSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, TropicanaSource.class.getResourceAsStream("/fonts/tropicana/TropicanaBv-83M.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("hibiskus", Category.PLANTS, font, "A", this)); - cliparts.add(new FontClipart("leaf", Category.PLANTS, font, "B", this)); - cliparts.add(new FontClipart("palm tree", Category.PLANTS, font, "F", this)); - cliparts.add(new FontClipart("palm tree", Category.PLANTS, font, "G", this)); - cliparts.add(new FontClipart("flower", Category.PLANTS, font, "V", this)); - cliparts.add(new FontClipart("lanterns", Category.MYTHICAL, font, "H", this)); - cliparts.add(new FontClipart("tiki mask", Category.MYTHICAL, font, "I", this)); - cliparts.add(new FontClipart("pineapple", Category.FOOD, font, "J", this)); - cliparts.add(new FontClipart("coconuts", Category.FOOD, font, "K", this)); - cliparts.add(new FontClipart("drink", Category.FOOD, font, "L", this)); - cliparts.add(new FontClipart("hulu woman", Category.PEOPLE_AND_CHARACTERS, font, "M", this)); - cliparts.add(new FontClipart("surfer", Category.PEOPLE_AND_CHARACTERS, font, "N", this)); - cliparts.add(new FontClipart("hulu woman", Category.PEOPLE_AND_CHARACTERS, font, "U", this)); - cliparts.add(new FontClipart("flower necklace", Category.UNSORTED, font, "C", this)); - cliparts.add(new FontClipart("ukulele", Category.UNSORTED, font, "D", this)); - cliparts.add(new FontClipart("barrel", Category.UNSORTED, font, "E", this)); - cliparts.add(new FontClipart("sandals", Category.UNSORTED, font, "S", this)); - cliparts.add(new FontClipart("pendant", Category.UNSORTED, font, "T", this)); - cliparts.add(new FontClipart("fish", Category.ANIMALS, font, "O", this)); - cliparts.add(new FontClipart("sea star", Category.ANIMALS, font, "P", this)); - cliparts.add(new FontClipart("shell", Category.ANIMALS, font, "Q", this)); - cliparts.add(new FontClipart("parrot", Category.ANIMALS, font, "R", this)); - cliparts.add(new FontClipart("cabin", Category.BUILDINGS, font, "W", this)); - cliparts.add(new FontClipart("machete", Category.TOOLS, font, "X", this)); - cliparts.add(new FontClipart("bamboo", Category.DECORATIONS, font, "Y", this)); - cliparts.add(new FontClipart("bamboo", Category.DECORATIONS, font, "Z", this)); - } - - @Override - public String getName() { - return "Tropicana"; - } - - @Override - public String getCredits() { - return "Blue Vinyl"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/tropicana-bv-font-f984"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageCorners23Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageCorners23Source.java deleted file mode 100644 index 427b762010..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageCorners23Source.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class VintageCorners23Source extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public VintageCorners23Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, VintageCorners23Source.class.getResourceAsStream("/fonts/vintage-decorative-corners-23-font/VintageDecorativeCorners23-5wXa.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Corner 04", Category.DECORATIONS, font, "d", this)); - cliparts.add(new FontClipart("Corner 10", Category.DECORATIONS, font, "j", this)); - cliparts.add(new FontClipart("Corner 15", Category.DECORATIONS, font, "o", this)); - cliparts.add(new FontClipart("Corner 17", Category.DECORATIONS, font, "q", this)); - cliparts.add(new FontClipart("Corner 20", Category.DECORATIONS, font, "t", this)); - cliparts.add(new FontClipart("Corner 24", Category.DECORATIONS, font, "x", this)); - - } - - @Override - public String getName() { - return "Vintage Corners 23"; - } - - @Override - public String getCredits() { - return "Sughayer Foundry"; - } - - @Override - public String getUrl() { - return "link: https://www.fontspace.com/vintage-decorative-corners-23-font-f20049"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageDecorativeSigns2Source.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageDecorativeSigns2Source.java deleted file mode 100644 index d98eddb2f7..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/VintageDecorativeSigns2Source.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class VintageDecorativeSigns2Source extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public VintageDecorativeSigns2Source() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, VintageDecorativeSigns2Source.class.getResourceAsStream("/fonts/vintage-decorative-signs-2-font/VintageDecorativeSigns2-mmLG.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Frame 01", Category.DECORATIONS, font, "a", this)); - cliparts.add(new FontClipart("Frame 02", Category.DECORATIONS, font, "b", this)); - cliparts.add(new FontClipart("Frame 03", Category.DECORATIONS, font, "c", this)); - cliparts.add(new FontClipart("Frame 04", Category.DECORATIONS, font, "d", this)); - cliparts.add(new FontClipart("Frame 05", Category.DECORATIONS, font, "e", this)); - cliparts.add(new FontClipart("Frame 06", Category.DECORATIONS, font, "f", this)); - cliparts.add(new FontClipart("Frame 07", Category.DECORATIONS, font, "g", this)); - cliparts.add(new FontClipart("Frame 08", Category.DECORATIONS, font, "h", this)); - cliparts.add(new FontClipart("Frame 09", Category.DECORATIONS, font, "i", this)); - cliparts.add(new FontClipart("Frame 10", Category.DECORATIONS, font, "j", this)); - cliparts.add(new FontClipart("Frame 11", Category.DECORATIONS, font, "k", this)); - cliparts.add(new FontClipart("Frame 12", Category.DECORATIONS, font, "l", this)); - cliparts.add(new FontClipart("Frame 13", Category.DECORATIONS, font, "m", this)); - cliparts.add(new FontClipart("Frame 14", Category.DECORATIONS, font, "n", this)); - cliparts.add(new FontClipart("Frame 15", Category.DECORATIONS, font, "o", this)); - cliparts.add(new FontClipart("Frame 16", Category.DECORATIONS, font, "p", this)); - cliparts.add(new FontClipart("Frame 17", Category.DECORATIONS, font, "q", this)); - cliparts.add(new FontClipart("Frame 18", Category.DECORATIONS, font, "r", this)); - cliparts.add(new FontClipart("Frame 19", Category.DECORATIONS, font, "s", this)); - cliparts.add(new FontClipart("Frame 20", Category.DECORATIONS, font, "t", this)); - cliparts.add(new FontClipart("Frame 21", Category.DECORATIONS, font, "u", this)); - cliparts.add(new FontClipart("Frame 22", Category.DECORATIONS, font, "v", this)); - cliparts.add(new FontClipart("Frame 23", Category.DECORATIONS, font, "w", this)); - cliparts.add(new FontClipart("Frame 24", Category.DECORATIONS, font, "x", this)); - cliparts.add(new FontClipart("Frame 25", Category.DECORATIONS, font, "y", this)); - cliparts.add(new FontClipart("Frame 26", Category.DECORATIONS, font, "z", this)); - cliparts.add(new FontClipart("Frame 27", Category.DECORATIONS, font, "A", this)); - cliparts.add(new FontClipart("Frame 28", Category.DECORATIONS, font, "B", this)); - cliparts.add(new FontClipart("Frame 29", Category.DECORATIONS, font, "C", this)); - cliparts.add(new FontClipart("Frame 30", Category.DECORATIONS, font, "D", this)); - cliparts.add(new FontClipart("Frame 31", Category.DECORATIONS, font, "E", this)); - cliparts.add(new FontClipart("Frame 32", Category.DECORATIONS, font, "F", this)); - cliparts.add(new FontClipart("Frame 33", Category.DECORATIONS, font, "G", this)); - cliparts.add(new FontClipart("Frame 34", Category.DECORATIONS, font, "H", this)); - cliparts.add(new FontClipart("Frame 35", Category.DECORATIONS, font, "I", this)); - cliparts.add(new FontClipart("Frame 36", Category.DECORATIONS, font, "J", this)); - cliparts.add(new FontClipart("Frame 37", Category.DECORATIONS, font, "K", this)); - cliparts.add(new FontClipart("Frame 38", Category.DECORATIONS, font, "L", this)); - cliparts.add(new FontClipart("Frame 39", Category.DECORATIONS, font, "M", this)); - cliparts.add(new FontClipart("Frame 40", Category.DECORATIONS, font, "N", this)); - cliparts.add(new FontClipart("Frame 41", Category.DECORATIONS, font, "O", this)); - cliparts.add(new FontClipart("Frame 42", Category.DECORATIONS, font, "P", this)); - cliparts.add(new FontClipart("Frame 43", Category.DECORATIONS, font, "Q", this)); - cliparts.add(new FontClipart("Frame 44", Category.DECORATIONS, font, "R", this)); - cliparts.add(new FontClipart("Frame 45", Category.DECORATIONS, font, "S", this)); - cliparts.add(new FontClipart("Frame 46", Category.DECORATIONS, font, "T", this)); - cliparts.add(new FontClipart("Frame 47", Category.DECORATIONS, font, "U", this)); - cliparts.add(new FontClipart("Frame 48", Category.DECORATIONS, font, "V", this)); - cliparts.add(new FontClipart("Frame 49", Category.DECORATIONS, font, "W", this)); - cliparts.add(new FontClipart("Frame 50", Category.DECORATIONS, font, "X", this)); - cliparts.add(new FontClipart("Frame 51", Category.DECORATIONS, font, "Y", this)); - cliparts.add(new FontClipart("Frame 52", Category.DECORATIONS, font, "Z", this)); - cliparts.add(new FontClipart("Frame 53", Category.DECORATIONS, font, "0", this)); - cliparts.add(new FontClipart("Frame 54", Category.DECORATIONS, font, "1", this)); - cliparts.add(new FontClipart("Frame 55", Category.DECORATIONS, font, "2", this)); - cliparts.add(new FontClipart("Frame 56", Category.DECORATIONS, font, "3", this)); - cliparts.add(new FontClipart("Frame 57", Category.DECORATIONS, font, "4", this)); - cliparts.add(new FontClipart("Frame 58", Category.DECORATIONS, font, "5", this)); - cliparts.add(new FontClipart("Frame 59", Category.DECORATIONS, font, "6", this)); - cliparts.add(new FontClipart("Frame 60", Category.DECORATIONS, font, "7", this)); - cliparts.add(new FontClipart("Frame 61", Category.DECORATIONS, font, "8", this)); - cliparts.add(new FontClipart("Frame 62", Category.DECORATIONS, font, "9", this)); - } - - @Override - public String getName() { - return "Vintage Decorative signs 2"; - } - - @Override - public String getCredits() { - return "Sughayer Foundry"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/vintage-decorative-signs-2-font-f19771"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WorldOfScifiSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WorldOfScifiSource.java deleted file mode 100644 index d35e66d8fc..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WorldOfScifiSource.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class WorldOfScifiSource extends AbstractClipartSource { - private final List cliparts = new ArrayList<>(); - - public WorldOfScifiSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, WorldOfScifiSource.class.getResourceAsStream("/fonts/world-of-sci-fi-font/WorldOfScifi-K7DvZ.ttf")) - .deriveFont( - FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Stargate", Category.SIGNS_AND_SYMBOLS, font, "a", this)); - cliparts.add(new FontClipart("Cylon", Category.PEOPLE_AND_CHARACTERS, font, "c", this)); - cliparts.add(new FontClipart("Dalek", Category.PEOPLE_AND_CHARACTERS, font, "d", this)); - cliparts.add(new FontClipart("Star Wars - Storm trooper", Category.PEOPLE_AND_CHARACTERS, font, "e", this)); - cliparts.add(new FontClipart("Star Wars - Boba Fett", Category.PEOPLE_AND_CHARACTERS, font, "f", this)); - cliparts.add(new FontClipart("Alien", Category.SIGNS_AND_SYMBOLS, font, "g", this)); - cliparts.add(new FontClipart("Borg", Category.PEOPLE_AND_CHARACTERS, font, "h", this)); - cliparts.add(new FontClipart("Harvester", Category.PEOPLE_AND_CHARACTERS, font, "i", this)); - cliparts.add(new FontClipart("Superman", Category.SIGNS_AND_SYMBOLS, font, "j", this)); - cliparts.add(new FontClipart("Star Trek - Klingon", Category.SIGNS_AND_SYMBOLS, font, "k", this)); - cliparts.add(new FontClipart("Live long and prosper", Category.SIGNS_AND_SYMBOLS, font, "l", this)); - cliparts.add(new FontClipart("Alien", Category.PEOPLE_AND_CHARACTERS, font, "n", this)); - cliparts.add(new FontClipart("TRON light cycle", Category.TRANSPORTATION, font, "o", this)); - cliparts.add(new FontClipart("Star Trek - Phaser", Category.TOOLS, font, "p", this)); - cliparts.add(new FontClipart("Alien vs Predator", Category.SIGNS_AND_SYMBOLS, font.deriveFont(font.getSize() * 0.5f), "q", this)); - cliparts.add(new FontClipart("Robinson Robot.", Category.PEOPLE_AND_CHARACTERS, font, "r", this)); - cliparts.add(new FontClipart("Star Wars", Category.SIGNS_AND_SYMBOLS, font, "s", this)); - cliparts.add(new FontClipart("Star Trek", Category.SIGNS_AND_SYMBOLS, font, "t", this)); - cliparts.add(new FontClipart("Blaster", Category.TOOLS, font, "u", this)); - cliparts.add(new FontClipart("Star Trek - Spock", Category.PEOPLE_AND_CHARACTERS, font, "v", this)); - cliparts.add(new FontClipart("Star Wars - Darth Vader", Category.PEOPLE_AND_CHARACTERS, font, "w", this)); - cliparts.add(new FontClipart("?", Category.SIGNS_AND_SYMBOLS, font, "y", this)); - cliparts.add(new FontClipart("Star Trek - Bajor", Category.SIGNS_AND_SYMBOLS, font, "B", this)); - cliparts.add(new FontClipart("Petnagon", Category.SIGNS_AND_SYMBOLS, font, "C", this)); - cliparts.add(new FontClipart("E.T.", Category.PEOPLE_AND_CHARACTERS, font, "E", this)); - cliparts.add(new FontClipart("Godzilla", Category.PEOPLE_AND_CHARACTERS, font, "G", this)); - cliparts.add(new FontClipart("Star Trek - Cardassian", Category.SIGNS_AND_SYMBOLS, font, "H", this)); - cliparts.add(new FontClipart("Star Wars - Dark empire", Category.SIGNS_AND_SYMBOLS, font, "I", this)); - cliparts.add(new FontClipart("Star Wars - Jedi Order", Category.SIGNS_AND_SYMBOLS, font, "J", this)); - cliparts.add(new FontClipart("Star Trek - Klingon", Category.SIGNS_AND_SYMBOLS, font, "K", this)); - cliparts.add(new FontClipart("Star Trek - Terran empire", Category.SIGNS_AND_SYMBOLS, font, "L", this)); - cliparts.add(new FontClipart("Star Wars - Mandalorians", Category.SIGNS_AND_SYMBOLS, font, "M", this)); - cliparts.add(new FontClipart("Star Wars - Sand warrior", Category.PEOPLE_AND_CHARACTERS, font, "O", this)); - cliparts.add(new FontClipart("Jupiter", Category.UNSORTED, font, "P", this)); - cliparts.add(new FontClipart("Star Wars - Strike fighter", Category.TRANSPORTATION, font, "Q", this)); - cliparts.add(new FontClipart("Star Wars - Rebel Alliance", Category.SIGNS_AND_SYMBOLS, font, "R", this)); - cliparts.add(new FontClipart("???", Category.SIGNS_AND_SYMBOLS, font.deriveFont(font.getSize() * 0.8f), "S", this)); - cliparts.add(new FontClipart("Star Trek - Star Federation", Category.SIGNS_AND_SYMBOLS, font, "U", this)); - cliparts.add(new FontClipart("??", Category.SIGNS_AND_SYMBOLS, font, "V", this)); - cliparts.add(new FontClipart("Star Wars - ATAT", Category.TRANSPORTATION, font, "W", this)); - cliparts.add(new FontClipart("Star Wars - C3P0", Category.PEOPLE_AND_CHARACTERS, font, "X", this)); - cliparts.add(new FontClipart("Dave", Category.PEOPLE_AND_CHARACTERS, font, "1", this)); - cliparts.add(new FontClipart("Star Wars - R2D2", Category.PEOPLE_AND_CHARACTERS, font, "2", this)); - cliparts.add(new FontClipart("Arachnid", Category.PEOPLE_AND_CHARACTERS, font, "3", this)); - cliparts.add(new FontClipart("Independence day", Category.SIGNS_AND_SYMBOLS, font.deriveFont(font.getSize() * 0.5f), "4", this)); - cliparts.add(new FontClipart("Babylon 5", Category.SIGNS_AND_SYMBOLS, font, "5", this)); - cliparts.add(new FontClipart("Buck Rogers - Twiki", Category.PEOPLE_AND_CHARACTERS, font, "6", this)); - cliparts.add(new FontClipart("Space man", Category.PEOPLE_AND_CHARACTERS, font, "8", this)); - cliparts.add(new FontClipart("Moonbase Alpha", Category.SIGNS_AND_SYMBOLS, font, "9", this)); - cliparts.add(new FontClipart("Star Wars - Blaster", Category.TOOLS, font.deriveFont(font.getSize() * 0.8f), "0", this)); - } - - @Override - public String getName() { - return "World of Sci Fi Font"; - } - - @Override - public String getCredits() { - return "Iconian Fonts"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/world-of-sci-fi-font-f87545"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for non-commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WwfreebieSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WwfreebieSource.java deleted file mode 100644 index 3adbb40fbb..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/WwfreebieSource.java +++ /dev/null @@ -1,139 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class WwfreebieSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public WwfreebieSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, WwfreebieSource.class.getResourceAsStream("/fonts/wwfreebie/Wwfreebie.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Teddy bear", Category.ANIMALS, font, "'", this)); - cliparts.add(new FontClipart("Bow", Category.DECORATIONS, font, ",", this)); - cliparts.add(new FontClipart("sign3", Category.SIGNS_AND_SYMBOLS, font, ".", this)); - cliparts.add(new FontClipart("sign4", Category.DECORATIONS, font, "/", this)); - cliparts.add(new FontClipart("Clover", Category.SIGNS_AND_SYMBOLS, font, "0", this)); - cliparts.add(new FontClipart("Clover 3", Category.SIGNS_AND_SYMBOLS, font, "1", this)); - cliparts.add(new FontClipart("Cards - Diamonds", Category.SIGNS_AND_SYMBOLS, font, "2", this)); - cliparts.add(new FontClipart("Cards - Hearts", Category.SIGNS_AND_SYMBOLS, font, "3", this)); - cliparts.add(new FontClipart("Cards - Clubs", Category.SIGNS_AND_SYMBOLS, font, "4", this)); - cliparts.add(new FontClipart("Cards - Spades", Category.SIGNS_AND_SYMBOLS, font, "5", this)); - cliparts.add(new FontClipart("Lips 1", Category.SIGNS_AND_SYMBOLS, font, "6", this)); - cliparts.add(new FontClipart("Lips 2", Category.SIGNS_AND_SYMBOLS, font, "7", this)); - cliparts.add(new FontClipart("Lips 3", Category.SIGNS_AND_SYMBOLS, font, "8", this)); - cliparts.add(new FontClipart("Dove", Category.SIGNS_AND_SYMBOLS, font, "9", this)); - cliparts.add(new FontClipart("sign15", Category.DECORATIONS, font, "A", this)); - cliparts.add(new FontClipart("sign16", Category.DECORATIONS, font, "B", this)); - cliparts.add(new FontClipart("sign17", Category.DECORATIONS, font, "C", this)); - cliparts.add(new FontClipart("sign18", Category.DECORATIONS, font, "D", this)); - cliparts.add(new FontClipart("sign19", Category.DECORATIONS, font, "E", this)); - cliparts.add(new FontClipart("Diamond", Category.SIGNS_AND_SYMBOLS, font, "F", this)); - cliparts.add(new FontClipart("sign21", Category.DECORATIONS, font, "G", this)); - cliparts.add(new FontClipart("Trident", Category.SIGNS_AND_SYMBOLS, font, "H", this)); - cliparts.add(new FontClipart("sign23", Category.DECORATIONS, font, "I", this)); - cliparts.add(new FontClipart("sign24", Category.DECORATIONS, font, "J", this)); - cliparts.add(new FontClipart("sign25", Category.DECORATIONS, font, "K", this)); - cliparts.add(new FontClipart("Star 7", Category.SIGNS_AND_SYMBOLS, font, "L", this)); - cliparts.add(new FontClipart("Star 6", Category.SIGNS_AND_SYMBOLS, font, "M", this)); - cliparts.add(new FontClipart("Star 5", Category.SIGNS_AND_SYMBOLS, font, "N", this)); - cliparts.add(new FontClipart("Star 4", Category.SIGNS_AND_SYMBOLS, font, "O", this)); - cliparts.add(new FontClipart("sign30", Category.DECORATIONS, font, "P", this)); - cliparts.add(new FontClipart("sign31", Category.DECORATIONS, font, "Q", this)); - cliparts.add(new FontClipart("sign32", Category.DECORATIONS, font, "R", this)); - cliparts.add(new FontClipart("sign33", Category.DECORATIONS, font, "S", this)); - cliparts.add(new FontClipart("sign34", Category.DECORATIONS, font, "T", this)); - cliparts.add(new FontClipart("sign35", Category.DECORATIONS, font, "U", this)); - cliparts.add(new FontClipart("sign36", Category.DECORATIONS, font, "V", this)); - cliparts.add(new FontClipart("sign37", Category.SIGNS_AND_SYMBOLS, font, "W", this)); - cliparts.add(new FontClipart("sign38", Category.SIGNS_AND_SYMBOLS, font, "X", this)); - cliparts.add(new FontClipart("sign39", Category.SIGNS_AND_SYMBOLS, font, "Y", this)); - cliparts.add(new FontClipart("sign40", Category.SIGNS_AND_SYMBOLS, font, "Z", this)); - cliparts.add(new FontClipart("sign41", Category.DECORATIONS, font, "a", this)); - cliparts.add(new FontClipart("sign42", Category.DECORATIONS, font, "b", this)); - cliparts.add(new FontClipart("sign43", Category.DECORATIONS, font, "c", this)); - cliparts.add(new FontClipart("sign44", Category.DECORATIONS, font, "d", this)); - cliparts.add(new FontClipart("sign45", Category.DECORATIONS, font, "e", this)); - cliparts.add(new FontClipart("Star 3", Category.SIGNS_AND_SYMBOLS, font, "f", this)); - cliparts.add(new FontClipart("Star 2", Category.SIGNS_AND_SYMBOLS, font, "g", this)); - cliparts.add(new FontClipart("sign48", Category.DECORATIONS, font, "h", this)); - cliparts.add(new FontClipart("sign49", Category.DECORATIONS, font, "i", this)); - cliparts.add(new FontClipart("sign50", Category.DECORATIONS, font, "j", this)); - cliparts.add(new FontClipart("sign51", Category.DECORATIONS, font, "k", this)); - cliparts.add(new FontClipart("sign52", Category.DECORATIONS, font, "l", this)); - cliparts.add(new FontClipart("Clover 2", Category.SIGNS_AND_SYMBOLS, font, "m", this)); - cliparts.add(new FontClipart("sign54", Category.DECORATIONS, font, "n", this)); - cliparts.add(new FontClipart("Star 1", Category.SIGNS_AND_SYMBOLS, font, "o", this)); - cliparts.add(new FontClipart("sign56", Category.DECORATIONS, font, "p", this)); - cliparts.add(new FontClipart("sign57", Category.DECORATIONS, font, "q", this)); - cliparts.add(new FontClipart("sign58", Category.DECORATIONS, font, "r", this)); - cliparts.add(new FontClipart("Star 9", Category.SIGNS_AND_SYMBOLS, font, "s", this)); - cliparts.add(new FontClipart("Apperature", Category.SIGNS_AND_SYMBOLS, font, "t", this)); - cliparts.add(new FontClipart("sign61", Category.SIGNS_AND_SYMBOLS, font, "u", this)); - cliparts.add(new FontClipart("sign62", Category.SIGNS_AND_SYMBOLS, font, "v", this)); - cliparts.add(new FontClipart("sign63", Category.DECORATIONS, font, "w", this)); - cliparts.add(new FontClipart("sign64", Category.DECORATIONS, font, "x", this)); - cliparts.add(new FontClipart("sign65", Category.DECORATIONS, font, "y", this)); - } - - @Override - public String getName() { - return "WWFreebie"; - } - - @Override - public String getCredits() { - return "WindWalker64"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/wwfreebie-font-f3394"; - } - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/XmasSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/XmasSource.java deleted file mode 100644 index dd45b9b6c9..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/XmasSource.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class XmasSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public XmasSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, XmasSource.class.getResourceAsStream("/fonts/xmas/XmasClipart2.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Christmas Candy Cane 1", Category.HOLIDAY, font, "A", this)); - cliparts.add(new FontClipart("Present 1", Category.HOLIDAY, font, "B", this)); - cliparts.add(new FontClipart("Christmas Santa 1", Category.HOLIDAY, font, "C", this)); - cliparts.add(new FontClipart("Christmas bells", Category.HOLIDAY, font, "D", this)); - cliparts.add(new FontClipart("Christmas ornament 2", Category.HOLIDAY, font, "E", this)); - cliparts.add(new FontClipart("Snow man 1", Category.HOLIDAY, font, "F", this)); - cliparts.add(new FontClipart("Snow man 2", Category.HOLIDAY, font, "G", this)); - cliparts.add(new FontClipart("Present 2", Category.HOLIDAY, font, "H", this)); - cliparts.add(new FontClipart("Candle 1", Category.HOLIDAY, font, "I", this)); - cliparts.add(new FontClipart("Present 3", Category.HOLIDAY, font, "J", this)); - cliparts.add(new FontClipart("Christmas Sled 1", Category.HOLIDAY, font.deriveFont(font.getSize() * 0.8f), "K", this)); - cliparts.add(new FontClipart("Christmas Santa 3", Category.HOLIDAY, font, "L", this)); - cliparts.add(new FontClipart("Christmas Sled 2", Category.HOLIDAY, font, "M", this)); - cliparts.add(new FontClipart("Christmas ball 1", Category.HOLIDAY, font, "N", this)); - cliparts.add(new FontClipart("Snow man 3", Category.HOLIDAY, font, "O", this)); - cliparts.add(new FontClipart("Christmas tree 1", Category.HOLIDAY, font, "P", this)); - cliparts.add(new FontClipart("Christmas Santa 4", Category.HOLIDAY, font, "Q", this)); - cliparts.add(new FontClipart("Reindeer", Category.ANIMALS, font, "R", this)); - cliparts.add(new FontClipart("Christmas ornament 1", Category.HOLIDAY, font, "S", this)); - cliparts.add(new FontClipart("Christmas Santa 5", Category.HOLIDAY, font, "T", this)); - cliparts.add(new FontClipart("Christmas Santa 6", Category.HOLIDAY, font, "U", this)); - cliparts.add(new FontClipart("Christmas Elves", Category.HOLIDAY, font.deriveFont(font.getSize() * 0.8f), "V", this)); - cliparts.add(new FontClipart("Christmas ornament 3", Category.HOLIDAY, font, "W", this)); - cliparts.add(new FontClipart("Christmas Santa 7", Category.HOLIDAY, font, "X", this)); - cliparts.add(new FontClipart("Christmas Santa 8", Category.HOLIDAY, font, "Y", this)); - cliparts.add(new FontClipart("Christmas Santa 9", Category.HOLIDAY, font, "Z", this)); - - cliparts.add(new FontClipart("Christmas Santa 10", Category.HOLIDAY, font, "a", this)); - cliparts.add(new FontClipart("Christmas sock 2", Category.HOLIDAY, font, "b", this)); - cliparts.add(new FontClipart("Christmas Santa 11", Category.HOLIDAY, font, "c", this)); - cliparts.add(new FontClipart("Christmas Santa 12", Category.HOLIDAY, font, "d", this)); - cliparts.add(new FontClipart("Snowman 4", Category.HOLIDAY, font, "e", this)); - cliparts.add(new FontClipart("Christmas North pole", Category.HOLIDAY, font, "f", this)); - cliparts.add(new FontClipart("Christmas Santa 14", Category.HOLIDAY, font, "g", this)); - cliparts.add(new FontClipart("Christmas Santa 15", Category.HOLIDAY, font, "h", this)); - cliparts.add(new FontClipart("Christmas Sled 3", Category.HOLIDAY, font.deriveFont(font.getSize() * 0.8f), "i", this)); - cliparts.add(new FontClipart("Christmas sock 1", Category.HOLIDAY, font, "j", this)); - } - - @Override - public String getName() { - return "Xmas"; - } - - @Override - public String getCredits() { - return "GemFonts"; - } - - @Override - public String getUrl() { - return "https://www.fontspace.com/xmas-clipart-2-font-f4270"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/YourSignSource.java b/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/YourSignSource.java deleted file mode 100644 index 6433abd46a..0000000000 --- a/ugs-platform/ugs-platform-plugin-designer/src/main/java/com/willwinder/ugs/nbp/designer/gui/clipart/sources/YourSignSource.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - Copyright 2022 Will Winder - - This file is part of Universal Gcode Sender (UGS). - - UGS is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - UGS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with UGS. If not, see . - */ -package com.willwinder.ugs.nbp.designer.gui.clipart.sources; - -import com.willwinder.ugs.nbp.designer.gui.clipart.Category; -import com.willwinder.ugs.nbp.designer.gui.clipart.Clipart; -import com.willwinder.ugs.nbp.designer.gui.clipart.ClipartSourceException; -import com.willwinder.ugs.nbp.designer.gui.clipart.FontClipart; - -import java.awt.Font; -import java.awt.FontFormatException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * @author Joacim Breiler - */ -public class YourSignSource extends AbstractClipartSource { - - private final List cliparts = new ArrayList<>(); - - public YourSignSource() { - Font font; - try { - font = Font - .createFont(Font.TRUETYPE_FONT, YourSignSource.class.getResourceAsStream("/fonts/your-sign/YourSign.ttf")) - .deriveFont(FONT_SIZE); - } catch (IOException | FontFormatException e) { - throw new ClipartSourceException("Could not load font", e); - } - - cliparts.add(new FontClipart("Astrology - Aquarius 1", Category.MYTHICAL, font, "A", this)); - cliparts.add(new FontClipart("Astrology - Pisces 1", Category.MYTHICAL, font, "B ", this)); - cliparts.add(new FontClipart("Astrology - Aries 1", Category.MYTHICAL, font, "C ", this)); - cliparts.add(new FontClipart("Astrology - Taurus 1", Category.MYTHICAL, font, "D ", this)); - cliparts.add(new FontClipart("Astrology - Gemeni 1", Category.MYTHICAL, font, "E ", this)); - cliparts.add(new FontClipart("Astrology - Cancer 1", Category.MYTHICAL, font, "F ", this)); - cliparts.add(new FontClipart("Astrology - Leo 1", Category.MYTHICAL, font, "G ", this)); - cliparts.add(new FontClipart("Astrology - Virgo 1", Category.MYTHICAL, font, "H ", this)); - cliparts.add(new FontClipart("Astrology - Libra 1", Category.MYTHICAL, font, "I ", this)); - cliparts.add(new FontClipart("Astrology - Scorpio 1", Category.MYTHICAL, font, "J ", this)); - cliparts.add(new FontClipart("Astrology - Sagittarius 1", Category.MYTHICAL, font, "K ", this)); - cliparts.add(new FontClipart("Astrology - Capricorn 1", Category.MYTHICAL, font, "L ", this)); - cliparts.add(new FontClipart("Astrology - Aquarius 2", Category.MYTHICAL, font, "a ", this)); - cliparts.add(new FontClipart("Astrology - Pisces 2", Category.MYTHICAL, font, "b ", this)); - cliparts.add(new FontClipart("Astrology - Aries 2", Category.MYTHICAL, font, "c ", this)); - cliparts.add(new FontClipart("Astrology - Taurus 2", Category.MYTHICAL, font, "d ", this)); - cliparts.add(new FontClipart("Astrology - Gemeni 2", Category.MYTHICAL, font, "e ", this)); - cliparts.add(new FontClipart("Astrology - Cancer 2", Category.MYTHICAL, font.deriveFont(font.getSize() * 0.7f), "f ", this)); - cliparts.add(new FontClipart("Astrology - Leo 2", Category.MYTHICAL, font, "g ", this)); - cliparts.add(new FontClipart("Astrology - Virgo 2", Category.MYTHICAL, font, "h ", this)); - cliparts.add(new FontClipart("Astrology - Libra 2", Category.MYTHICAL, font, "i ", this)); - cliparts.add(new FontClipart("Astrology - Scorpio 2", Category.MYTHICAL, font, "j ", this)); - cliparts.add(new FontClipart("Astrology - Sagittarius 2", Category.MYTHICAL, font, "k ", this)); - cliparts.add(new FontClipart("Astrology - Capricorn 2", Category.MYTHICAL, font, "l ", this)); - } - - @Override - public String getName() { - return "Your sign"; - } - - @Override - public String getCredits() { - return "Lime"; - } - - @Override - public String getUrl() { - return "https://www.1001fonts.com/your-sign-font.html"; - } - - @Override - public List getCliparts() { - return cliparts; - } - - @Override - public String getLicense() { - return "Free for commercial use"; - } -} diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/bu-dingbats/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/bu-dingbats/mapping.json new file mode 100644 index 0000000000..7d72aa69d4 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/bu-dingbats/mapping.json @@ -0,0 +1,373 @@ +{ + "font": "/fonts/bu-dingbats/BuDingbatsSansPurpose-njmY.ttf", + "name": "BuDingbats", + "credits": "Bosil unique fonts", + "url": "https://www.fontspace.com/bu-dingbats-sans-purpose-font-f17451", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Yin Yang", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\uF030" + }, + { + "name": "Yin Yang", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\uF030" + }, + { + "name": "Wage slave", + "categories": [ + "UNSORTED" + ], + "text": "\uF031" + }, + { + "name": "Gas mask", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\uF032" + }, + { + "name": "Recycle", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\uF033" + }, + { + "name": "Grin", + "categories": [ + "UNSORTED" + ], + "text": "\uF034" + }, + { + "name": "Medical", + "categories": [ + "SCIENCE" + ], + "text": "\uF038" + }, + { + "name": "Radioactive", + "categories": [ + "SCIENCE" + ], + "text": "\uF039" + }, + { + "name": "Anonymous", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\uF041" + }, + { + "name": "Betty", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF042" + }, + { + "name": "Groucho Marx", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF043" + }, + { + "name": "Edgar Allen Poe", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF044" + }, + { + "name": "Einstein", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF045" + }, + { + "name": "Frankensteins monster", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF046" + }, + { + "name": "Sheep evolution", + "categories": [ + "UNSORTED" + ], + "text": "\uF047" + }, + { + "name": "Sherlock Holmes", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF048" + }, + { + "name": "Uncle Sam", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF049" + }, + { + "name": "Abraham Lincoln", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF04A" + }, + { + "name": "TV Zombie", + "categories": [ + "UNSORTED" + ], + "text": "\uF04B" + }, + { + "name": "Mona Lisa", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF04C" + }, + { + "name": "Groucho Marx", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF04D" + }, + { + "name": "Popeye", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF04E" + }, + { + "name": "Grin 2", + "categories": [ + "UNSORTED" + ], + "text": "\uF04F" + }, + { + "name": "Pipe", + "categories": [ + "UNSORTED" + ], + "text": "\uF050" + }, + { + "name": "Elderly", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF051" + }, + { + "name": "Duck frame", + "categories": [ + "DECORATIONS" + ], + "text": "\uF052" + }, + { + "name": "Sun", + "categories": [ + "DECORATIONS" + ], + "text": "\uF053" + }, + { + "name": "Shoe", + "categories": [ + "UNSORTED" + ], + "text": "\uF071" + }, + { + "name": "Shoe print", + "categories": [ + "UNSORTED" + ], + "text": "\uF072" + }, + { + "name": "Cobra", + "categories": [ + "ANIMALS" + ], + "text": "\uF073" + }, + { + "name": "Briefcase with money", + "categories": [ + "UNSORTED" + ], + "text": "\uF061" + }, + { + "name": "Bio hazard 1", + "categories": [ + "SCIENCE" + ], + "text": "\uF062" + }, + { + "name": "Bio hazard 2", + "categories": [ + "SCIENCE" + ], + "text": "\uF063" + }, + { + "name": "Diamond bloody", + "categories": [ + "UNSORTED" + ], + "text": "\uF064" + }, + { + "name": "Laundry", + "categories": [ + "UNSORTED" + ], + "text": "\uF065" + }, + { + "name": "Crayons", + "categories": [ + "UNSORTED" + ], + "text": "\uF066" + }, + { + "name": "Radioactive 2", + "categories": [ + "SCIENCE" + ], + "text": "\uF067" + }, + { + "name": "Wolf", + "categories": [ + "ANIMALS" + ], + "text": "\uF068" + }, + { + "name": "Medical 2", + "categories": [ + "SCIENCE" + ], + "text": "\uF069" + }, + { + "name": "Lamp Lava", + "categories": [ + "UNSORTED" + ], + "text": "\uF06A" + }, + { + "name": "Medical 3", + "categories": [ + "SCIENCE" + ], + "text": "\uF06B" + }, + { + "name": "Fish", + "categories": [ + "ANIMALS" + ], + "text": "\uF06C" + }, + { + "name": "Impossible", + "categories": [ + "UNSORTED" + ], + "text": "\uF06D" + }, + { + "name": "Bombs", + "categories": [ + "UNSORTED" + ], + "text": "\uF06E" + }, + { + "name": "Yin Yang 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\uF06F" + }, + { + "name": "Shoe", + "categories": [ + "UNSORTED" + ], + "text": "\uF070" + }, + { + "name": "TV", + "categories": [ + "ELECTRONICS" + ], + "text": "\uF074" + }, + { + "name": "Robot", + "categories": [ + "ELECTRONICS" + ], + "text": "\uF075" + }, + { + "name": "Body", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF076" + }, + { + "name": "Cleopatra", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF078" + }, + { + "name": "Meditating", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\uF079" + }, + { + "name": "Turtle", + "categories": [ + "ANIMALS" + ], + "text": "\uF07A" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/christmas/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/christmas/mapping.json new file mode 100644 index 0000000000..aea1d17399 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/christmas/mapping.json @@ -0,0 +1,632 @@ +{ + "font": "/fonts/christmas/ChristmasRegular.ttf", + "name": "Christmas", + "credits": "Vivek Kambli", + "url": "https://www.fontspace.com/christmas-font-f4808", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Lamp 1", + "categories": [ + "HOLIDAY" + ], + "text": "#" + }, + { + "name": "Lamp 2", + "categories": [ + "HOLIDAY" + ], + "text": "%" + }, + { + "name": "Lamp 3", + "categories": [ + "HOLIDAY" + ], + "text": "@" + }, + { + "name": "Star 1", + "categories": [ + "HOLIDAY" + ], + "text": "*" + }, + { + "name": "Star 2", + "categories": [ + "HOLIDAY" + ], + "text": "+" + }, + { + "name": "Star shooting", + "categories": [ + "HOLIDAY" + ], + "text": "_" + }, + { + "name": "Christmas bell 1", + "categories": [ + "HOLIDAY" + ], + "text": "[" + }, + { + "name": "Christmas bell 2", + "categories": [ + "HOLIDAY" + ], + "text": "\\" + }, + { + "name": "Christmas bell 3", + "categories": [ + "HOLIDAY" + ], + "text": "]" + }, + { + "name": "Candle 1", + "categories": [ + "HOLIDAY" + ], + "text": "!" + }, + { + "name": "Candle 2", + "categories": [ + "HOLIDAY" + ], + "text": "^" + }, + { + "name": "Candle 5", + "categories": [ + "HOLIDAY" + ], + "text": "$" + }, + { + "name": "Candle christmas cake", + "categories": [ + "HOLIDAY" + ], + "text": "`" + }, + { + "name": "Candles", + "categories": [ + "HOLIDAY" + ], + "text": "&" + }, + { + "name": "Cross 1", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "-" + }, + { + "name": "Cross 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "=" + }, + { + "name": "Cross 3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "1" + }, + { + "name": "Cross 4", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "2" + }, + { + "name": "Cross 5", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "3" + }, + { + "name": "Cross 6", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "4" + }, + { + "name": "Cross 7", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "5" + }, + { + "name": "Cross 8", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "6" + }, + { + "name": "Cross 9", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "7" + }, + { + "name": "Cross 10", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "8" + }, + { + "name": "Cross 11", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "9" + }, + { + "name": "Christmas ball 1", + "categories": [ + "HOLIDAY" + ], + "text": ":" + }, + { + "name": "Christmas ball 2", + "categories": [ + "HOLIDAY" + ], + "text": "\"" + }, + { + "name": "Christmas ball 3", + "categories": [ + "HOLIDAY" + ], + "text": "A" + }, + { + "name": "Christmas ball 4", + "categories": [ + "HOLIDAY" + ], + "text": "D" + }, + { + "name": "Christmas ball 5", + "categories": [ + "HOLIDAY" + ], + "text": "F" + }, + { + "name": "Christmas ball 6", + "categories": [ + "HOLIDAY" + ], + "text": "G" + }, + { + "name": "Christmas ball 7", + "categories": [ + "HOLIDAY" + ], + "text": "H" + }, + { + "name": "Christmas ball 8", + "categories": [ + "HOLIDAY" + ], + "text": "K" + }, + { + "name": "Christmas ball 9", + "categories": [ + "HOLIDAY" + ], + "text": "S" + }, + { + "name": "Christmas ball 10", + "categories": [ + "HOLIDAY" + ], + "text": "L" + }, + { + "name": "Christmas ball star", + "categories": [ + "HOLIDAY" + ], + "text": "J" + }, + { + "name": "Present 1", + "categories": [ + "HOLIDAY" + ], + "text": "{" + }, + { + "name": "Present 2", + "categories": [ + "HOLIDAY" + ], + "text": "}" + }, + { + "name": "Present 3", + "categories": [ + "HOLIDAY" + ], + "text": "I" + }, + { + "name": "Present 4", + "categories": [ + "HOLIDAY" + ], + "text": "O" + }, + { + "name": "Present 5", + "categories": [ + "HOLIDAY" + ], + "text": "P" + }, + { + "name": "Present 6", + "categories": [ + "HOLIDAY" + ], + "text": "U" + }, + { + "name": "Snow man 1", + "categories": [ + "HOLIDAY" + ], + "text": "<" + }, + { + "name": "Snow man 2", + "categories": [ + "HOLIDAY" + ], + "text": ">" + }, + { + "name": "Snow man 3", + "categories": [ + "HOLIDAY" + ], + "text": "?" + }, + { + "name": "Snow man 4", + "categories": [ + "HOLIDAY" + ], + "text": "B" + }, + { + "name": "Snow man 5", + "categories": [ + "HOLIDAY" + ], + "text": "C" + }, + { + "name": "Snow man 6", + "categories": [ + "HOLIDAY" + ], + "text": "M" + }, + { + "name": "Snow man 7", + "categories": [ + "HOLIDAY" + ], + "text": "N" + }, + { + "name": "Christmas sock 1", + "categories": [ + "HOLIDAY" + ], + "text": "Q" + }, + { + "name": "Christmas sock 2", + "categories": [ + "HOLIDAY" + ], + "text": "R" + }, + { + "name": "Christmas sock 3", + "categories": [ + "HOLIDAY" + ], + "text": "T" + }, + { + "name": "Christmas sock 4", + "categories": [ + "HOLIDAY" + ], + "text": "W" + }, + { + "name": "Christmas sock 5", + "categories": [ + "HOLIDAY" + ], + "text": "Y" + }, + { + "name": "Christmas sock 6", + "categories": [ + "HOLIDAY" + ], + "text": "E" + }, + { + "name": "Snow man candy cane", + "categories": [ + "HOLIDAY" + ], + "text": "V" + }, + { + "name": "Snow man 8", + "categories": [ + "HOLIDAY" + ], + "text": "X" + }, + { + "name": "Snow man 9", + "categories": [ + "HOLIDAY" + ], + "text": "Z" + }, + { + "name": "Christmas bell 3", + "categories": [ + "HOLIDAY" + ], + "text": "e" + }, + { + "name": "Christmas bell 4", + "categories": [ + "HOLIDAY" + ], + "text": "o" + }, + { + "name": "Christmas bell 5", + "categories": [ + "HOLIDAY" + ], + "text": "p" + }, + { + "name": "Christmas bell 6", + "categories": [ + "HOLIDAY" + ], + "text": "q" + }, + { + "name": "Christmas bell 7", + "categories": [ + "HOLIDAY" + ], + "text": "r" + }, + { + "name": "Christmas bell 8", + "categories": [ + "HOLIDAY" + ], + "text": "t" + }, + { + "name": "Christmas bell 9", + "categories": [ + "HOLIDAY" + ], + "text": "u" + }, + { + "name": "Christmas bell 10", + "categories": [ + "HOLIDAY" + ], + "text": "w" + }, + { + "name": "Christmas bell 11", + "categories": [ + "HOLIDAY" + ], + "text": "y" + }, + { + "name": "Christmas bell 12", + "categories": [ + "HOLIDAY" + ], + "text": "i" + }, + { + "name": "Christmas leaves 1", + "categories": [ + "HOLIDAY" + ], + "text": ";" + }, + { + "name": "Christmas leaves 2", + "categories": [ + "HOLIDAY" + ], + "text": "'" + }, + { + "name": "Christmas leaves 3", + "categories": [ + "HOLIDAY" + ], + "text": "a" + }, + { + "name": "Christmas leaves 4", + "categories": [ + "HOLIDAY" + ], + "text": "d" + }, + { + "name": "Christmas leaves 5", + "categories": [ + "HOLIDAY" + ], + "text": "f" + }, + { + "name": "Christmas leaves 6", + "categories": [ + "HOLIDAY" + ], + "text": "g" + }, + { + "name": "Christmas leaves 7", + "categories": [ + "HOLIDAY" + ], + "text": "h" + }, + { + "name": "Christmas leaves 8", + "categories": [ + "HOLIDAY" + ], + "text": "j" + }, + { + "name": "Christmas leaves 9", + "categories": [ + "HOLIDAY" + ], + "text": "k" + }, + { + "name": "Christmas leaves 10", + "categories": [ + "HOLIDAY" + ], + "text": "l" + }, + { + "name": "Christmas leaves 11", + "categories": [ + "HOLIDAY" + ], + "text": "s" + }, + { + "name": "Christmas tree simple", + "categories": [ + "HOLIDAY" + ], + "text": "b" + }, + { + "name": "Christmas tree 1", + "categories": [ + "HOLIDAY" + ], + "text": "," + }, + { + "name": "Christmas tree 2", + "categories": [ + "HOLIDAY" + ], + "text": "." + }, + { + "name": "Christmas tree 3", + "categories": [ + "HOLIDAY" + ], + "text": "/" + }, + { + "name": "Christmas tree 4", + "categories": [ + "HOLIDAY" + ], + "text": "c" + }, + { + "name": "Christmas tree 5", + "categories": [ + "HOLIDAY" + ], + "text": "m" + }, + { + "name": "Christmas tree 6", + "categories": [ + "HOLIDAY" + ], + "text": "n" + }, + { + "name": "Christmas tree 7", + "categories": [ + "HOLIDAY" + ], + "text": "v" + }, + { + "name": "Christmas tree 8", + "categories": [ + "HOLIDAY" + ], + "text": "x" + }, + { + "name": "Christmas tree 9", + "categories": [ + "HOLIDAY" + ], + "text": "z" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/corners2/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/corners2/mapping.json new file mode 100644 index 0000000000..1c8051778c --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/corners2/mapping.json @@ -0,0 +1,93 @@ +{ + "font": "/fonts/corners2/Corners2.ttf", + "name": "Corners2", + "credits": "Digital Magic", + "url": "https://www.fontspace.com/corners-2-font-f5917", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Corner", + "categories": [ + "DECORATIONS" + ], + "text": "A" + }, + { + "name": "Corner with flowers 1", + "categories": [ + "DECORATIONS" + ], + "text": "B" + }, + { + "name": "Corner with fireworks", + "categories": [ + "DECORATIONS" + ], + "text": "C" + }, + { + "name": "Corner with star and banner", + "categories": [ + "DECORATIONS" + ], + "text": "D" + }, + { + "name": "Corner with star and leaves", + "categories": [ + "DECORATIONS" + ], + "text": "E" + }, + { + "name": "Corner with eagle", + "categories": [ + "DECORATIONS" + ], + "text": "F" + }, + { + "name": "Corner with bells", + "categories": [ + "DECORATIONS" + ], + "text": "G" + }, + { + "name": "Banner with heart and petals", + "categories": [ + "DECORATIONS" + ], + "text": "H" + }, + { + "name": "Banner", + "categories": [ + "DECORATIONS" + ], + "text": "I" + }, + { + "name": "Corner with flowers 2", + "categories": [ + "DECORATIONS" + ], + "text": "J" + }, + { + "name": "Corner with fairy", + "categories": [ + "DECORATIONS" + ], + "text": "K" + }, + { + "name": "Corner with angel", + "categories": [ + "DECORATIONS" + ], + "text": "L" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/creepy-crawlies-font/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/creepy-crawlies-font/mapping.json new file mode 100644 index 0000000000..5c0037e68e --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/creepy-crawlies-font/mapping.json @@ -0,0 +1,261 @@ +{ + "font": "/fonts/creepy-crawlies-font/CreepyCrawlies-GOxxy.ttf", + "name": "Creepy Crawlies", + "credits": "Iconian Fonts", + "url": "https://www.fontspace.com/creepy-crawlies-font-f86435", + "license": "Free for non-commercial use", + "cliparts": [ + { + "name": "Ant", + "categories": [ + "ANIMALS" + ], + "text": "a" + }, + { + "name": "Wasp", + "categories": [ + "ANIMALS" + ], + "text": "b" + }, + { + "name": "Fly", + "categories": [ + "ANIMALS" + ], + "text": "c" + }, + { + "name": "Dragon fly", + "categories": [ + "ANIMALS" + ], + "text": "d" + }, + { + "name": "Scorpion", + "categories": [ + "ANIMALS" + ], + "text": "e" + }, + { + "name": "Frog", + "categories": [ + "ANIMALS" + ], + "text": "f" + }, + { + "name": "Cockroach", + "categories": [ + "ANIMALS" + ], + "text": "g" + }, + { + "name": "Centipede", + "categories": [ + "ANIMALS" + ], + "text": "h" + }, + { + "name": "Spider", + "categories": [ + "ANIMALS" + ], + "text": "i" + }, + { + "name": "Bug", + "categories": [ + "ANIMALS" + ], + "text": "j" + }, + { + "name": "Snake", + "categories": [ + "ANIMALS" + ], + "text": "k" + }, + { + "name": "Mantis", + "categories": [ + "ANIMALS" + ], + "text": "l" + }, + { + "name": "Tick", + "categories": [ + "ANIMALS" + ], + "text": "m" + }, + { + "name": "Centipede", + "categories": [ + "ANIMALS" + ], + "text": "n" + }, + { + "name": "Wood louse", + "categories": [ + "ANIMALS" + ], + "text": "o" + }, + { + "name": "Caterpillar", + "categories": [ + "ANIMALS" + ], + "text": "p" + }, + { + "name": "Mosquito", + "categories": [ + "ANIMALS" + ], + "text": "q" + }, + { + "name": "Grass hopper", + "categories": [ + "ANIMALS" + ], + "text": "r" + }, + { + "name": "Spider 2", + "categories": [ + "ANIMALS" + ], + "text": "s" + }, + { + "name": "Flee", + "categories": [ + "ANIMALS" + ], + "text": "t" + }, + { + "name": "Beetle", + "categories": [ + "ANIMALS" + ], + "text": "u" + }, + { + "name": "Ant 2", + "categories": [ + "ANIMALS" + ], + "text": "v" + }, + { + "name": "Worm", + "categories": [ + "ANIMALS" + ], + "text": "w" + }, + { + "name": "Slug", + "categories": [ + "ANIMALS" + ], + "text": "x" + }, + { + "name": "Fly 2", + "categories": [ + "ANIMALS" + ], + "text": "y" + }, + { + "name": "Gecko", + "categories": [ + "ANIMALS" + ], + "text": "z" + }, + { + "name": "Crow", + "categories": [ + "ANIMALS" + ], + "text": "0" + }, + { + "name": "Rat", + "categories": [ + "ANIMALS" + ], + "text": "1" + }, + { + "name": "Frog", + "categories": [ + "ANIMALS" + ], + "text": "2" + }, + { + "name": "Worm 2", + "categories": [ + "ANIMALS" + ], + "text": "3" + }, + { + "name": "Spider 4", + "categories": [ + "ANIMALS" + ], + "text": "4" + }, + { + "name": "Tick 2", + "categories": [ + "ANIMALS" + ], + "text": "5" + }, + { + "name": "Raven", + "categories": [ + "ANIMALS" + ], + "text": "6" + }, + { + "name": "Mouse", + "categories": [ + "ANIMALS" + ], + "text": "7" + }, + { + "name": "Iguana", + "categories": [ + "ANIMALS" + ], + "text": "8" + }, + { + "name": "Frog", + "categories": [ + "ANIMALS" + ], + "text": "9" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping1.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping1.json new file mode 100644 index 0000000000..d731d841a0 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping1.json @@ -0,0 +1,184 @@ +{ + "font": "/fonts/darrians-frames-font/DarriansFrames-BWrB.ttf", + "name": "DarriansFrames1", + "credits": "Darrian Lynx", + "url": "https://www.fontspace.com/darrians-frames-font-f1770", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Frames 01", + "categories": [ + "DECORATIONS" + ], + "text": "a" + }, + { + "name": "Frames 02", + "categories": [ + "DECORATIONS" + ], + "text": "b" + }, + { + "name": "Frames 03", + "categories": [ + "DECORATIONS" + ], + "text": "c" + }, + { + "name": "Frames 04", + "categories": [ + "DECORATIONS" + ], + "text": "d" + }, + { + "name": "Frames 05", + "categories": [ + "DECORATIONS" + ], + "text": "e" + }, + { + "name": "Frames 06", + "categories": [ + "DECORATIONS" + ], + "text": "f" + }, + { + "name": "Frames 07", + "categories": [ + "DECORATIONS" + ], + "text": "g" + }, + { + "name": "Frames 08", + "categories": [ + "DECORATIONS" + ], + "text": "h" + }, + { + "name": "Frames 09", + "categories": [ + "DECORATIONS" + ], + "text": "i" + }, + { + "name": "Frames 10", + "categories": [ + "DECORATIONS" + ], + "text": "j" + }, + { + "name": "Frames 11", + "categories": [ + "DECORATIONS" + ], + "text": "k" + }, + { + "name": "Frames 12", + "categories": [ + "DECORATIONS" + ], + "text": "l" + }, + { + "name": "Frames 13", + "categories": [ + "DECORATIONS" + ], + "text": "m" + }, + { + "name": "Frames 14", + "categories": [ + "DECORATIONS" + ], + "text": "n" + }, + { + "name": "Frames 15", + "categories": [ + "DECORATIONS" + ], + "text": "o" + }, + { + "name": "Frames 16", + "categories": [ + "DECORATIONS" + ], + "text": "p" + }, + { + "name": "Frames 17", + "categories": [ + "DECORATIONS" + ], + "text": "q" + }, + { + "name": "Frames 18", + "categories": [ + "DECORATIONS" + ], + "text": "r" + }, + { + "name": "Frames 19", + "categories": [ + "DECORATIONS" + ], + "text": "s" + }, + { + "name": "Frames 20", + "categories": [ + "DECORATIONS" + ], + "text": "t" + }, + { + "name": "Frames 21", + "categories": [ + "DECORATIONS" + ], + "text": "u" + }, + { + "name": "Frames 22", + "categories": [ + "DECORATIONS" + ], + "text": "v" + }, + { + "name": "Frames 23", + "categories": [ + "DECORATIONS" + ], + "text": "w" + }, + { + "name": "Frames 24", + "categories": [ + "DECORATIONS" + ], + "text": "x" + }, + { + "name": "Frames 25", + "categories": [ + "DECORATIONS" + ], + "text": "y" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping2.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping2.json new file mode 100644 index 0000000000..89bc4d75e1 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/darrians-frames-font/mapping2.json @@ -0,0 +1,184 @@ +{ + "font": "/fonts/darrians-frames-font/DarriansFramesTwo-8M5M.ttf", + "name": "DarriansFrames2", + "credits": "Darrian Lynx", + "url": "https://www.fontspace.com/darrians-frames-font-f1770", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Frames 01", + "categories": [ + "DECORATIONS" + ], + "text": "a" + }, + { + "name": "Frames 02", + "categories": [ + "DECORATIONS" + ], + "text": "b" + }, + { + "name": "Frames 03", + "categories": [ + "DECORATIONS" + ], + "text": "c" + }, + { + "name": "Frames 04", + "categories": [ + "DECORATIONS" + ], + "text": "d" + }, + { + "name": "Frames 05", + "categories": [ + "DECORATIONS" + ], + "text": "e" + }, + { + "name": "Frames 06", + "categories": [ + "DECORATIONS" + ], + "text": "f" + }, + { + "name": "Frames 07", + "categories": [ + "DECORATIONS" + ], + "text": "g" + }, + { + "name": "Frames 08", + "categories": [ + "DECORATIONS" + ], + "text": "h" + }, + { + "name": "Frames 09", + "categories": [ + "DECORATIONS" + ], + "text": "i" + }, + { + "name": "Frames 10", + "categories": [ + "DECORATIONS" + ], + "text": "j" + }, + { + "name": "Frames 11", + "categories": [ + "DECORATIONS" + ], + "text": "k" + }, + { + "name": "Frames 12", + "categories": [ + "DECORATIONS" + ], + "text": "l" + }, + { + "name": "Frames 13", + "categories": [ + "DECORATIONS" + ], + "text": "m" + }, + { + "name": "Frames 14", + "categories": [ + "DECORATIONS" + ], + "text": "n" + }, + { + "name": "Frames 15", + "categories": [ + "DECORATIONS" + ], + "text": "o" + }, + { + "name": "Frames 16", + "categories": [ + "DECORATIONS" + ], + "text": "p" + }, + { + "name": "Frames 17", + "categories": [ + "DECORATIONS" + ], + "text": "q" + }, + { + "name": "Frames 18", + "categories": [ + "DECORATIONS" + ], + "text": "r" + }, + { + "name": "Frames 19", + "categories": [ + "DECORATIONS" + ], + "text": "s" + }, + { + "name": "Frames 20", + "categories": [ + "DECORATIONS" + ], + "text": "t" + }, + { + "name": "Frames 21", + "categories": [ + "DECORATIONS" + ], + "text": "u" + }, + { + "name": "Frames 22", + "categories": [ + "DECORATIONS" + ], + "text": "v" + }, + { + "name": "Frames 23", + "categories": [ + "DECORATIONS" + ], + "text": "w" + }, + { + "name": "Frames 24", + "categories": [ + "DECORATIONS" + ], + "text": "x" + }, + { + "name": "Frames 25", + "categories": [ + "DECORATIONS" + ], + "text": "y" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/destinys-borders/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/destinys-borders/mapping.json new file mode 100644 index 0000000000..aa94bc69e6 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/destinys-borders/mapping.json @@ -0,0 +1,79 @@ +{ + "font": "/fonts/destinys-borders/DestinysBorderDings.ttf", + "name": "Destinys Border", + "credits": "Destiny's Designs", + "url": "https://www.fontspace.com/destinys-border-dings-font-f12969", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "sign1", + "categories": [ + "DECORATIONS" + ], + "text": "A" + }, + { + "name": "sign2", + "categories": [ + "DECORATIONS" + ], + "text": "B" + }, + { + "name": "sign3", + "categories": [ + "DECORATIONS" + ], + "text": "C" + }, + { + "name": "sign4", + "categories": [ + "DECORATIONS" + ], + "text": "D" + }, + { + "name": "sign5", + "categories": [ + "DECORATIONS" + ], + "text": "E" + }, + { + "name": "sign6", + "categories": [ + "DECORATIONS" + ], + "text": "F" + }, + { + "name": "sign7", + "categories": [ + "DECORATIONS" + ], + "text": "G" + }, + { + "name": "sign8", + "categories": [ + "DECORATIONS" + ], + "text": "H" + }, + { + "name": "sign9", + "categories": [ + "DECORATIONS" + ], + "text": "I" + }, + { + "name": "sign10", + "categories": [ + "DECORATIONS" + ], + "text": "J" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/easterart/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/easterart/mapping.json new file mode 100644 index 0000000000..5d5e7864be --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/easterart/mapping.json @@ -0,0 +1,352 @@ +{ + "font": "/fonts/easterart/EasterArt.ttf", + "name": "EasterArt", + "credits": "GemFonts", + "url": "https://www.fontspace.com/easter-art-font-f4082", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Easter egg 1", + "categories": [ + "HOLIDAY" + ], + "text": "A" + }, + { + "name": "Easter egg 2", + "categories": [ + "HOLIDAY" + ], + "text": "J" + }, + { + "name": "Easter egg 4", + "categories": [ + "HOLIDAY" + ], + "text": "M" + }, + { + "name": "Easter egg 5", + "categories": [ + "HOLIDAY" + ], + "text": "g" + }, + { + "name": "Easter egg 6", + "categories": [ + "HOLIDAY" + ], + "text": "h" + }, + { + "name": "Easter egg 7", + "categories": [ + "HOLIDAY" + ], + "text": "i" + }, + { + "name": "Easter egg 8", + "categories": [ + "HOLIDAY" + ], + "text": "j" + }, + { + "name": "Easter egg 11", + "categories": [ + "HOLIDAY" + ], + "text": "f" + }, + { + "name": "Easter egg 12", + "categories": [ + "HOLIDAY" + ], + "text": "p" + }, + { + "name": "Easter egg 13", + "categories": [ + "HOLIDAY" + ], + "text": "q" + }, + { + "name": "Easter egg 14", + "categories": [ + "HOLIDAY" + ], + "text": "r" + }, + { + "name": "Easter eggs 1", + "categories": [ + "HOLIDAY" + ], + "text": "L" + }, + { + "name": "Easter eggs 2", + "categories": [ + "HOLIDAY" + ], + "text": "k" + }, + { + "name": "Easter eggs 3", + "categories": [ + "HOLIDAY" + ], + "text": "l" + }, + { + "name": "Easter basket 3", + "categories": [ + "HOLIDAY" + ], + "text": "P" + }, + { + "name": "Easter eggs 4", + "categories": [ + "HOLIDAY" + ], + "text": "e" + }, + { + "name": "Easter bunny 4", + "categories": [ + "HOLIDAY" + ], + "text": "Q" + }, + { + "name": "Easter basket 1", + "categories": [ + "HOLIDAY" + ], + "text": "R" + }, + { + "name": "Easter basket 2", + "categories": [ + "HOLIDAY" + ], + "text": "S" + }, + { + "name": "Easter basket 3", + "categories": [ + "HOLIDAY" + ], + "text": "v" + }, + { + "name": "Easter basket 4", + "categories": [ + "HOLIDAY" + ], + "text": "m" + }, + { + "name": "Bunny 1", + "categories": [ + "ANIMALS" + ], + "text": "V" + }, + { + "name": "Bunny 3", + "categories": [ + "ANIMALS" + ], + "text": "C" + }, + { + "name": "Bunny 7", + "categories": [ + "ANIMALS" + ], + "text": "n" + }, + { + "name": "Bunny 8", + "categories": [ + "ANIMALS" + ], + "text": "o" + }, + { + "name": "Bunny 9", + "categories": [ + "ANIMALS" + ], + "text": "w" + }, + { + "name": "Easter bunny 1", + "categories": [ + "HOLIDAY" + ], + "text": "K" + }, + { + "name": "Easter bunny 2", + "categories": [ + "HOLIDAY" + ], + "text": "N" + }, + { + "name": "Easter bunny 3", + "categories": [ + "HOLIDAY" + ], + "text": "O" + }, + { + "name": "Easter bunny 4", + "categories": [ + "HOLIDAY" + ], + "text": "T" + }, + { + "name": "Easter bunny 5", + "categories": [ + "HOLIDAY" + ], + "text": "U" + }, + { + "name": "Easter bunny 6", + "categories": [ + "HOLIDAY" + ], + "text": "X" + }, + { + "name": "Easter bunny 7", + "categories": [ + "HOLIDAY" + ], + "text": "Y" + }, + { + "name": "Easter bunny 8", + "categories": [ + "HOLIDAY" + ], + "text": "Z" + }, + { + "name": "Easter bunny 9", + "categories": [ + "HOLIDAY" + ], + "text": "a" + }, + { + "name": "Easter bunny 10", + "categories": [ + "HOLIDAY" + ], + "text": "c" + }, + { + "name": "Easter bunny 11", + "categories": [ + "HOLIDAY" + ], + "text": "d" + }, + { + "name": "Easter bunny 12", + "categories": [ + "HOLIDAY" + ], + "text": "s" + }, + { + "name": "Easter bunny 13", + "categories": [ + "HOLIDAY" + ], + "text": "t" + }, + { + "name": "Easter bunny 14", + "categories": [ + "HOLIDAY" + ], + "text": "E" + }, + { + "name": "Easter bunny 15", + "categories": [ + "HOLIDAY" + ], + "text": "F" + }, + { + "name": "Easter bunny 16", + "categories": [ + "HOLIDAY" + ], + "text": "G" + }, + { + "name": "Easter bunny 17", + "categories": [ + "HOLIDAY" + ], + "text": "H" + }, + { + "name": "Easter bunny 18", + "categories": [ + "HOLIDAY" + ], + "text": "I" + }, + { + "name": "Easter bunny 19", + "categories": [ + "HOLIDAY" + ], + "text": "B" + }, + { + "name": "Easter Bunny 20", + "categories": [ + "HOLIDAY" + ], + "text": "W" + }, + { + "name": "Easter Bunny 21", + "categories": [ + "HOLIDAY" + ], + "text": "b" + }, + { + "name": "Easter Bunny 22", + "categories": [ + "HOLIDAY" + ], + "text": "D" + }, + { + "name": "Easter chickens 1", + "categories": [ + "HOLIDAY" + ], + "text": "u" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/efon/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/efon/mapping.json new file mode 100644 index 0000000000..ff108af08a --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/efon/mapping.json @@ -0,0 +1,310 @@ +{ + "font": "/fonts/efon/Efon-Gl4q.ttf", + "name": "Efon Font", + "credits": "Sakurai Nan", + "url": "https://www.fontspace.com/efon-font-f4531", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Flower", + "categories": [ + "PLANTS" + ], + "text": "\"" + }, + { + "name": "Petals 1", + "categories": [ + "PLANTS" + ], + "text": "!" + }, + { + "name": "Petals 2", + "categories": [ + "PLANTS" + ], + "text": "#" + }, + { + "name": "Petals 3", + "categories": [ + "PLANTS" + ], + "text": "$" + }, + { + "name": "Plant", + "categories": [ + "PLANTS" + ], + "text": ")" + }, + { + "name": "Leaf 1", + "categories": [ + "PLANTS" + ], + "text": ":" + }, + { + "name": "Leaf 2", + "categories": [ + "PLANTS" + ], + "text": "[" + }, + { + "name": "Cactus", + "categories": [ + "PLANTS" + ], + "text": "@" + }, + { + "name": "Mouse 3", + "categories": [ + "ANIMALS" + ], + "text": "^" + }, + { + "name": "Rabbit", + "categories": [ + "ANIMALS" + ], + "text": "_" + }, + { + "name": "Crab", + "categories": [ + "ANIMALS" + ], + "text": "~" + }, + { + "name": "Bread", + "categories": [ + "FOOD" + ], + "text": "+" + }, + { + "name": "Carrot", + "categories": [ + "FOOD" + ], + "text": "," + }, + { + "name": "Strawberry", + "categories": [ + "FOOD" + ], + "text": "<" + }, + { + "name": "Frog", + "categories": [ + "ANIMALS" + ], + "text": "'" + }, + { + "name": "Hamster", + "categories": [ + "ANIMALS" + ], + "text": "*" + }, + { + "name": "Fish 1", + "categories": [ + "ANIMALS" + ], + "text": "3" + }, + { + "name": "Polliwog", + "categories": [ + "ANIMALS" + ], + "text": "A" + }, + { + "name": "Egg", + "categories": [ + "FOOD" + ], + "text": "B" + }, + { + "name": "Fox", + "categories": [ + "ANIMALS" + ], + "text": "D" + }, + { + "name": "Telephone", + "categories": [ + "ELECTRONICS" + ], + "text": "F" + }, + { + "name": "Tram", + "categories": [ + "TRANSPORTATION" + ], + "text": "G" + }, + { + "name": "Bus", + "categories": [ + "TRANSPORTATION" + ], + "text": "H" + }, + { + "name": "Car", + "categories": [ + "TRANSPORTATION" + ], + "text": "I" + }, + { + "name": "Umbrella", + "categories": [ + "WEATHER" + ], + "text": "N" + }, + { + "name": "Plane", + "categories": [ + "TRANSPORTATION" + ], + "text": "L" + }, + { + "name": "Sun", + "categories": [ + "WEATHER" + ], + "text": "M" + }, + { + "name": "Cat", + "categories": [ + "ANIMALS" + ], + "text": "P" + }, + { + "name": "Cat angry", + "categories": [ + "ANIMALS" + ], + "text": "P" + }, + { + "name": "Octopus", + "categories": [ + "ANIMALS" + ], + "text": "Q" + }, + { + "name": "Fish 2", + "categories": [ + "ANIMALS" + ], + "text": "S" + }, + { + "name": "Ant", + "categories": [ + "ANIMALS" + ], + "text": "T" + }, + { + "name": "Duck", + "categories": [ + "ANIMALS" + ], + "text": "U" + }, + { + "name": "Duckling", + "categories": [ + "ANIMALS" + ], + "text": "V" + }, + { + "name": "Mouse 1", + "categories": [ + "ANIMALS" + ], + "text": "X" + }, + { + "name": "Mouse 2", + "categories": [ + "ANIMALS" + ], + "text": "Y" + }, + { + "name": "Ghost", + "categories": [ + "MYTHICAL" + ], + "text": "Z" + }, + { + "name": "Robot", + "categories": [ + "ELECTRONICS" + ], + "text": "x" + }, + { + "name": "Moon", + "categories": [ + "WEATHER" + ], + "text": "e" + }, + { + "name": "Cellphone", + "categories": [ + "ELECTRONICS" + ], + "text": "f" + }, + { + "name": "Television", + "categories": [ + "ELECTRONICS" + ], + "text": "h" + }, + { + "name": "Coffey", + "categories": [ + "FOOD" + ], + "text": "r" + }, + { + "name": "Rain", + "categories": [ + "WEATHER" + ], + "text": "n" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/evilz/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/evilz/mapping.json new file mode 100644 index 0000000000..284016c925 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/evilz/mapping.json @@ -0,0 +1,457 @@ +{ + "font": "/fonts/evilz/Evilz-JJ1a.ttf", + "name": "Evilz Font", + "credits": "Sakurai Nan", + "url": "https://www.fontspace.com/evilz-font-f4530", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Ghost", + "categories": [ + "MYTHICAL" + ], + "text": "*" + }, + { + "name": "Cat-1", + "categories": [ + "ANIMALS" + ], + "text": "+" + }, + { + "name": "Witch", + "categories": [ + "MYTHICAL" + ], + "text": "," + }, + { + "name": "Cat-2", + "categories": [ + "ANIMALS" + ], + "text": "-" + }, + { + "name": "Joker-1", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "@" + }, + { + "name": "Snake-1", + "categories": [ + "ANIMALS" + ], + "text": "[" + }, + { + "name": "Prisoner", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "\\" + }, + { + "name": "Snake-2", + "categories": [ + "ANIMALS" + ], + "text": "]" + }, + { + "name": "Joker-2", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "`" + }, + { + "name": "Snakes", + "categories": [ + "ANIMALS" + ], + "text": "{" + }, + { + "name": "Track", + "categories": [ + "ANIMALS" + ], + "text": "=" + }, + { + "name": "Axe", + "categories": [ + "TOOLS" + ], + "text": "\"" + }, + { + "name": "Morning star", + "categories": [ + "TOOLS" + ], + "text": "#" + }, + { + "name": "Medicine", + "categories": [ + "FOOD" + ], + "text": "&" + }, + { + "name": "Love potion", + "categories": [ + "FOOD" + ], + "text": "_" + }, + { + "name": "Key 1", + "categories": [ + "UNSORTED" + ], + "text": "." + }, + { + "name": "Key 2", + "categories": [ + "UNSORTED" + ], + "text": "/" + }, + { + "name": "House haunted", + "categories": [ + "MYTHICAL" + ], + "text": "~" + }, + { + "name": "Key 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "/" + }, + { + "name": "Grave", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "^" + }, + { + "name": "Witch hat", + "categories": [ + "UNSORTED" + ], + "text": "!" + }, + { + "name": "Sword", + "categories": [ + "TOOLS" + ], + "text": "$" + }, + { + "name": "Swords", + "categories": [ + "TOOLS" + ], + "text": "4" + }, + { + "name": "Bag with money", + "categories": [ + "UNSORTED" + ], + "text": "5" + }, + { + "name": "Poison", + "categories": [ + "FOOD" + ], + "text": "6" + }, + { + "name": "Candle", + "categories": [ + "UNSORTED" + ], + "text": "7" + }, + { + "name": "Feather", + "categories": [ + "UNSORTED" + ], + "text": "8" + }, + { + "name": "Bomb", + "categories": [ + "TOOLS" + ], + "text": "9" + }, + { + "name": "Cross", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "C" + }, + { + "name": "Skull and eye patch", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "D" + }, + { + "name": "Heart and cross", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "E" + }, + { + "name": "Heart and bones", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "F" + }, + { + "name": "Star and bones", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "G" + }, + { + "name": "Heart and wings", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "H" + }, + { + "name": "Pumpkin", + "categories": [ + "MYTHICAL" + ], + "text": "I" + }, + { + "name": "Mouse", + "categories": [ + "ANIMALS" + ], + "text": "J" + }, + { + "name": "Wolf", + "categories": [ + "ANIMALS" + ], + "text": "K" + }, + { + "name": "Stitch man 1", + "categories": [ + "MYTHICAL" + ], + "text": "L" + }, + { + "name": "Bat", + "categories": [ + "ANIMALS" + ], + "text": "N" + }, + { + "name": "Raven", + "categories": [ + "ANIMALS" + ], + "text": "O" + }, + { + "name": "Salamander", + "categories": [ + "ANIMALS" + ], + "text": "P" + }, + { + "name": "Small ghost", + "categories": [ + "MYTHICAL" + ], + "text": "Q" + }, + { + "name": "Reaper", + "categories": [ + "MYTHICAL" + ], + "text": "R" + }, + { + "name": "Casket", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "S" + }, + { + "name": "Elf", + "categories": [ + "MYTHICAL" + ], + "text": "T" + }, + { + "name": "Spider", + "categories": [ + "ANIMALS" + ], + "text": "U" + }, + { + "name": "Bat flying 1", + "categories": [ + "ANIMALS" + ], + "text": "V" + }, + { + "name": "Devil-1", + "categories": [ + "MYTHICAL" + ], + "text": "W" + }, + { + "name": "Devil-2", + "categories": [ + "MYTHICAL" + ], + "text": "X" + }, + { + "name": "Rabbit", + "categories": [ + "ANIMALS" + ], + "text": "Y" + }, + { + "name": "Rabbit ghost", + "categories": [ + "MYTHICAL" + ], + "text": "Z" + }, + { + "name": "Dead cow", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "a" + }, + { + "name": "Skull and bones", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "b" + }, + { + "name": "Bones", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "c" + }, + { + "name": "Dead king", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "d" + }, + { + "name": "Heart and lightning", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "e" + }, + { + "name": "Heart and skull", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "f" + }, + { + "name": "Star and skull", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "g" + }, + { + "name": "Pentagram", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "h" + }, + { + "name": "Pumpkin", + "categories": [ + "MYTHICAL" + ], + "text": "i" + }, + { + "name": "Stitch man 2", + "categories": [ + "MYTHICAL" + ], + "text": "l" + }, + { + "name": "Thorn bush", + "categories": [ + "PLANTS" + ], + "text": "m" + }, + { + "name": "Bat flying 2", + "categories": [ + "ANIMALS" + ], + "text": "n" + }, + { + "name": "Spider web", + "categories": [ + "ANIMALS" + ], + "text": "u" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/fredoka-one/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/fredoka-one/mapping.json new file mode 100644 index 0000000000..b33b266646 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/fredoka-one/mapping.json @@ -0,0 +1,233 @@ +{ + "font": "/fonts/fredoka-one/Fredoka-dingbats.ttf", + "name": "Fredoka One", + "credits": "Milena Brandao", + "url": "https://www.1001fonts.com/fredoka-one-font.html", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Elephant", + "categories": [ + "ANIMALS" + ], + "text": "\u0061" + }, + { + "name": "Bird", + "categories": [ + "ANIMALS" + ], + "text": "\u0062" + }, + { + "name": "Fish", + "categories": [ + "ANIMALS" + ], + "text": "\u0063" + }, + { + "name": "Owl", + "categories": [ + "ANIMALS" + ], + "text": "\u0064" + }, + { + "name": "Cat", + "categories": [ + "ANIMALS" + ], + "text": "\u0065" + }, + { + "name": "Butterfly", + "categories": [ + "ANIMALS" + ], + "text": "\u0066" + }, + { + "name": "Rabbit", + "categories": [ + "ANIMALS" + ], + "text": "\u0067" + }, + { + "name": "Fishbowl", + "categories": [ + "ANIMALS" + ], + "text": "\u0068" + }, + { + "name": "Mouse", + "categories": [ + "ANIMALS" + ], + "text": "\u0069" + }, + { + "name": "Ornament-left", + "categories": [ + "DECORATIONS" + ], + "text": "\u0028" + }, + { + "name": "Ornament-right", + "categories": [ + "DECORATIONS" + ], + "text": "\u0029" + }, + { + "name": "Ornament-1", + "categories": [ + "DECORATIONS" + ], + "text": "\u0031" + }, + { + "name": "Ornament-2", + "categories": [ + "DECORATIONS" + ], + "text": "\u0032" + }, + { + "name": "Ornament-3", + "categories": [ + "DECORATIONS" + ], + "text": "\u0033" + }, + { + "name": "Ornament-4", + "categories": [ + "DECORATIONS" + ], + "text": "\u0034" + }, + { + "name": "Ornament-5", + "categories": [ + "DECORATIONS" + ], + "text": "\u0035" + }, + { + "name": "Heart", + "categories": [ + "DECORATIONS" + ], + "text": "\u0036" + }, + { + "name": "Ornament-7", + "categories": [ + "DECORATIONS" + ], + "text": "\u0038" + }, + { + "name": "Ornament-8", + "categories": [ + "DECORATIONS" + ], + "text": "\u0039" + }, + { + "name": "Ornament-9", + "categories": [ + "DECORATIONS" + ], + "text": "\u003C" + }, + { + "name": "Flower-1", + "categories": [ + "PLANTS" + ], + "text": "\u0041" + }, + { + "name": "Flower-2", + "categories": [ + "PLANTS" + ], + "text": "\u0042" + }, + { + "name": "Flower-3", + "categories": [ + "PLANTS" + ], + "text": "\u0043" + }, + { + "name": "Leaf", + "categories": [ + "PLANTS" + ], + "text": "\u0044" + }, + { + "name": "Barley", + "categories": [ + "PLANTS" + ], + "text": "\u0045" + }, + { + "name": "Rye", + "categories": [ + "PLANTS" + ], + "text": "\u0046" + }, + { + "name": "Yin Yang", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\u0048" + }, + { + "name": "Knot", + "categories": [ + "DECORATIONS" + ], + "text": "\u004B" + }, + { + "name": "Flower", + "categories": [ + "DECORATIONS" + ], + "text": "\u0054" + }, + { + "name": "Old-phone", + "categories": [ + "ELECTRONICS" + ], + "text": "\u004A" + }, + { + "name": "Cellphone", + "categories": [ + "ELECTRONICS" + ], + "text": "\u0051" + }, + { + "name": "TV", + "categories": [ + "ELECTRONICS" + ], + "text": "\u0052" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/garden/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/garden/mapping.json new file mode 100644 index 0000000000..a86ea9cdf0 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/garden/mapping.json @@ -0,0 +1,310 @@ +{ + "font": "/fonts/garden/garden.ttf", + "name": "Garden", + "credits": "Woodcutter", + "url": "https://www.dafont.com/garden-icons.font", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Plant", + "categories": [ + "PLANTS" + ], + "text": "A" + }, + { + "name": "Ladder trimming", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "B" + }, + { + "name": "Mowing lawn", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "C" + }, + { + "name": "Raking 1", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "D" + }, + { + "name": "Garden tools", + "categories": [ + "TOOLS" + ], + "text": "F" + }, + { + "name": "Rake", + "categories": [ + "TOOLS" + ], + "text": "G" + }, + { + "name": "Raking 2", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "H" + }, + { + "name": "pruning shears", + "categories": [ + "TOOLS" + ], + "text": "I" + }, + { + "name": "Watering can", + "categories": [ + "TOOLS" + ], + "text": "J" + }, + { + "name": "Gloves", + "categories": [ + "TOOLS" + ], + "text": "K" + }, + { + "name": "Pitch fork", + "categories": [ + "TOOLS" + ], + "text": "L" + }, + { + "name": "Watering can 2", + "categories": [ + "TOOLS" + ], + "text": "M" + }, + { + "name": "Plant 1", + "categories": [ + "PLANTS" + ], + "text": "N" + }, + { + "name": "Spade", + "categories": [ + "TOOLS" + ], + "text": "O" + }, + { + "name": "Hedge shears", + "categories": [ + "TOOLS" + ], + "text": "P" + }, + { + "name": "Plant", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Q" + }, + { + "name": "Flower", + "categories": [ + "PLANTS" + ], + "text": "R" + }, + { + "name": "Garden fork", + "categories": [ + "TOOLS" + ], + "text": "S" + }, + { + "name": "Garden hose", + "categories": [ + "TOOLS" + ], + "text": "T" + }, + { + "name": "Wheel borrow", + "categories": [ + "TOOLS" + ], + "text": "U" + }, + { + "name": "Water tap", + "categories": [ + "TOOLS" + ], + "text": "V" + }, + { + "name": "Water tap with hose", + "categories": [ + "TOOLS" + ], + "text": "W" + }, + { + "name": "Lawn mower", + "categories": [ + "TOOLS" + ], + "text": "X" + }, + { + "name": "Flower seeds 1", + "categories": [ + "UNSORTED" + ], + "text": "Y" + }, + { + "name": "Flower seeds 2", + "categories": [ + "UNSORTED" + ], + "text": "Z" + }, + { + "name": "Bug", + "categories": [ + "ANIMALS" + ], + "text": "a" + }, + { + "name": "Tree", + "categories": [ + "PLANTS" + ], + "text": "b" + }, + { + "name": "Lawn mower", + "categories": [ + "TOOLS" + ], + "text": "c" + }, + { + "name": "Garden spade", + "categories": [ + "TOOLS" + ], + "text": "d" + }, + { + "name": "Spray bottle", + "categories": [ + "TOOLS" + ], + "text": "e" + }, + { + "name": "Grass cutter", + "categories": [ + "TOOLS" + ], + "text": "f" + }, + { + "name": "Bucket", + "categories": [ + "TOOLS" + ], + "text": "g" + }, + { + "name": "Water hose 2", + "categories": [ + "TOOLS" + ], + "text": "g" + }, + { + "name": "Gloves 2", + "categories": [ + "TOOLS" + ], + "text": "i" + }, + { + "name": "Hose nozzle", + "categories": [ + "TOOLS" + ], + "text": "j" + }, + { + "name": "Garden knife", + "categories": [ + "TOOLS" + ], + "text": "k" + }, + { + "name": "Fence", + "categories": [ + "UNSORTED" + ], + "text": "s" + }, + { + "name": "Gloves 3", + "categories": [ + "TOOLS" + ], + "text": "t" + }, + { + "name": "Watering can 3", + "categories": [ + "TOOLS" + ], + "text": "u" + }, + { + "name": "Pots", + "categories": [ + "UNSORTED" + ], + "text": "x" + }, + { + "name": "Basket", + "categories": [ + "UNSORTED" + ], + "text": "y" + }, + { + "name": "Chainsaw", + "categories": [ + "TOOLS" + ], + "text": "$" + }, + { + "name": "Apple", + "categories": [ + "FOOD" + ], + "text": "£" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/house-icons/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/house-icons/mapping.json new file mode 100644 index 0000000000..b85a3727d5 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/house-icons/mapping.json @@ -0,0 +1,443 @@ +{ + "font": "/fonts/house-icons/house-icons.otf", + "name": "House Icons", + "credits": "Woodcutter", + "url": "https://www.dafont.com/house-icons.font", + "license": "Free for non-commercial use", + "cliparts": [ + { + "name": "House 01", + "categories": [ + "BUILDINGS" + ], + "text": "A" + }, + { + "name": "House 02", + "categories": [ + "BUILDINGS" + ], + "text": "B" + }, + { + "name": "House 03", + "categories": [ + "BUILDINGS" + ], + "text": "C" + }, + { + "name": "House 04", + "categories": [ + "BUILDINGS" + ], + "text": "D" + }, + { + "name": "House 05", + "categories": [ + "BUILDINGS" + ], + "text": "E" + }, + { + "name": "House 06", + "categories": [ + "BUILDINGS" + ], + "text": "F" + }, + { + "name": "House 07", + "categories": [ + "BUILDINGS" + ], + "text": "G" + }, + { + "name": "House 08", + "categories": [ + "BUILDINGS" + ], + "text": "H" + }, + { + "name": "House 09", + "categories": [ + "BUILDINGS" + ], + "text": "I" + }, + { + "name": "House 10", + "categories": [ + "BUILDINGS" + ], + "text": "J" + }, + { + "name": "House 11", + "categories": [ + "BUILDINGS" + ], + "text": "K" + }, + { + "name": "House 12", + "categories": [ + "BUILDINGS" + ], + "text": "L" + }, + { + "name": "House 13", + "categories": [ + "BUILDINGS" + ], + "text": "M" + }, + { + "name": "House 14", + "categories": [ + "BUILDINGS" + ], + "text": "N" + }, + { + "name": "House 15", + "categories": [ + "BUILDINGS" + ], + "text": "O" + }, + { + "name": "House 16", + "categories": [ + "BUILDINGS" + ], + "text": "P" + }, + { + "name": "House 17", + "categories": [ + "BUILDINGS" + ], + "text": "Q" + }, + { + "name": "House 18", + "categories": [ + "BUILDINGS" + ], + "text": "R" + }, + { + "name": "House 19", + "categories": [ + "BUILDINGS" + ], + "text": "S" + }, + { + "name": "House 20", + "categories": [ + "BUILDINGS" + ], + "text": "T" + }, + { + "name": "House 21", + "categories": [ + "BUILDINGS" + ], + "text": "U" + }, + { + "name": "House 22", + "categories": [ + "BUILDINGS" + ], + "text": "V" + }, + { + "name": "House 23", + "categories": [ + "BUILDINGS" + ], + "text": "W" + }, + { + "name": "House 24", + "categories": [ + "BUILDINGS" + ], + "text": "X" + }, + { + "name": "House 25", + "categories": [ + "BUILDINGS" + ], + "text": "Y" + }, + { + "name": "House 26", + "categories": [ + "BUILDINGS" + ], + "text": "Z" + }, + { + "name": "House 27", + "categories": [ + "BUILDINGS" + ], + "text": "a" + }, + { + "name": "House 28", + "categories": [ + "BUILDINGS" + ], + "text": "b" + }, + { + "name": "House 28", + "categories": [ + "BUILDINGS" + ], + "text": "c" + }, + { + "name": "House 29", + "categories": [ + "BUILDINGS" + ], + "text": "d" + }, + { + "name": "House 30", + "categories": [ + "BUILDINGS" + ], + "text": "e" + }, + { + "name": "House 31", + "categories": [ + "BUILDINGS" + ], + "text": "f" + }, + { + "name": "House 32", + "categories": [ + "BUILDINGS" + ], + "text": "g" + }, + { + "name": "House 33", + "categories": [ + "BUILDINGS" + ], + "text": "h" + }, + { + "name": "House 34", + "categories": [ + "BUILDINGS" + ], + "text": "i" + }, + { + "name": "House 35", + "categories": [ + "BUILDINGS" + ], + "text": "j" + }, + { + "name": "House 36", + "categories": [ + "BUILDINGS" + ], + "text": "k" + }, + { + "name": "House 37", + "categories": [ + "BUILDINGS" + ], + "text": "l" + }, + { + "name": "House 38", + "categories": [ + "BUILDINGS" + ], + "text": "m" + }, + { + "name": "House 39", + "categories": [ + "BUILDINGS" + ], + "text": "n" + }, + { + "name": "House 40", + "categories": [ + "BUILDINGS" + ], + "text": "o" + }, + { + "name": "House 41", + "categories": [ + "BUILDINGS" + ], + "text": "p" + }, + { + "name": "House 42", + "categories": [ + "BUILDINGS" + ], + "text": "q" + }, + { + "name": "House 43", + "categories": [ + "BUILDINGS" + ], + "text": "r" + }, + { + "name": "House 44", + "categories": [ + "BUILDINGS" + ], + "text": "s" + }, + { + "name": "House 45", + "categories": [ + "BUILDINGS" + ], + "text": "t" + }, + { + "name": "House 46", + "categories": [ + "BUILDINGS" + ], + "text": "u" + }, + { + "name": "House 47", + "categories": [ + "BUILDINGS" + ], + "text": "v" + }, + { + "name": "House 48", + "categories": [ + "BUILDINGS" + ], + "text": "w" + }, + { + "name": "House 49", + "categories": [ + "BUILDINGS" + ], + "text": "x" + }, + { + "name": "House 50", + "categories": [ + "BUILDINGS" + ], + "text": "y" + }, + { + "name": "House 51", + "categories": [ + "BUILDINGS" + ], + "text": "z" + }, + { + "name": "House 52", + "categories": [ + "BUILDINGS" + ], + "text": "0" + }, + { + "name": "House 53", + "categories": [ + "BUILDINGS" + ], + "text": "1" + }, + { + "name": "House 54", + "categories": [ + "BUILDINGS" + ], + "text": "2" + }, + { + "name": "House 55", + "categories": [ + "BUILDINGS" + ], + "text": "3" + }, + { + "name": "House 56", + "categories": [ + "BUILDINGS" + ], + "text": "4" + }, + { + "name": "House 57", + "categories": [ + "BUILDINGS" + ], + "text": "5" + }, + { + "name": "House 58", + "categories": [ + "BUILDINGS" + ], + "text": "6" + }, + { + "name": "House 59", + "categories": [ + "BUILDINGS" + ], + "text": "7" + }, + { + "name": "House 60", + "categories": [ + "BUILDINGS" + ], + "text": "8" + }, + { + "name": "House 61", + "categories": [ + "BUILDINGS" + ], + "text": "9" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/komika-bubbles/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/komika-bubbles/mapping.json new file mode 100644 index 0000000000..dc15dba94e --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/komika-bubbles/mapping.json @@ -0,0 +1,149 @@ +{ + "font": "/fonts/komika-bubbles/KomikaBubbles-6pq.ttf", + "name": "Komika Bubbles", + "credits": "Apostrophic Lab", + "url": "https://www.fontspace.com/komika-bubbles-font-f404", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "bubble 1", + "categories": [ + "DECORATIONS" + ], + "text": "A" + }, + { + "name": "bubble 2", + "categories": [ + "DECORATIONS" + ], + "text": "B" + }, + { + "name": "bubble 3", + "categories": [ + "DECORATIONS" + ], + "text": "C" + }, + { + "name": "bubble 4", + "categories": [ + "DECORATIONS" + ], + "text": "D" + }, + { + "name": "bubble 5", + "categories": [ + "DECORATIONS" + ], + "text": "E" + }, + { + "name": "bubble 6", + "categories": [ + "DECORATIONS" + ], + "text": "F" + }, + { + "name": "bubble 7", + "categories": [ + "DECORATIONS" + ], + "text": "G" + }, + { + "name": "bubble 8", + "categories": [ + "DECORATIONS" + ], + "text": "H" + }, + { + "name": "bubble 9", + "categories": [ + "DECORATIONS" + ], + "text": "I" + }, + { + "name": "bubble 10", + "categories": [ + "DECORATIONS" + ], + "text": "J" + }, + { + "name": "bubble 11", + "categories": [ + "DECORATIONS" + ], + "text": "K" + }, + { + "name": "bubble 12", + "categories": [ + "DECORATIONS" + ], + "text": "L" + }, + { + "name": "bubble 13", + "categories": [ + "DECORATIONS" + ], + "text": "M" + }, + { + "name": "bubble 14", + "categories": [ + "DECORATIONS" + ], + "text": "N" + }, + { + "name": "bubble 15", + "categories": [ + "DECORATIONS" + ], + "text": "O" + }, + { + "name": "bubble 16", + "categories": [ + "DECORATIONS" + ], + "text": "P" + }, + { + "name": "bubble 17", + "categories": [ + "DECORATIONS" + ], + "text": "Q" + }, + { + "name": "bubble 18", + "categories": [ + "DECORATIONS" + ], + "text": "R" + }, + { + "name": "bubble 19", + "categories": [ + "DECORATIONS" + ], + "text": "S" + }, + { + "name": "bubble 20", + "categories": [ + "DECORATIONS" + ], + "text": "T" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-1/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-1/mapping.json new file mode 100644 index 0000000000..3ed7686b9c --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-1/mapping.json @@ -0,0 +1,415 @@ +{ + "font": "/fonts/logoskate-1/Logoskate-Md4x.ttf", + "name": "Logoskate 1", + "credits": "RASDESIGN", + "url": "https://www.fontspace.com/logoskate-font-f13141", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "DC", + "categories": [ + "LOGOS" + ], + "text": "0" + }, + { + "name": "sign2", + "categories": [ + "LOGOS" + ], + "text": "1" + }, + { + "name": "sign3", + "categories": [ + "LOGOS" + ], + "text": "2" + }, + { + "name": "sign4", + "categories": [ + "LOGOS" + ], + "text": "3" + }, + { + "name": "sign5", + "categories": [ + "LOGOS" + ], + "text": "4" + }, + { + "name": "X games", + "categories": [ + "LOGOS" + ], + "text": "5" + }, + { + "name": "Royal", + "categories": [ + "LOGOS" + ], + "text": "6" + }, + { + "name": "Think", + "categories": [ + "LOGOS" + ], + "text": "7" + }, + { + "name": "Vans off the wall", + "categories": [ + "LOGOS" + ], + "text": "8" + }, + { + "name": "sign11", + "categories": [ + "LOGOS" + ], + "text": "A" + }, + { + "name": "Flip", + "categories": [ + "LOGOS" + ], + "text": "B" + }, + { + "name": "Osiris", + "categories": [ + "LOGOS" + ], + "text": "C" + }, + { + "name": "Independent Truck Company", + "categories": [ + "LOGOS" + ], + "text": "D" + }, + { + "name": "Adio", + "categories": [ + "LOGOS" + ], + "text": "E" + }, + { + "name": "Darkstar", + "categories": [ + "LOGOS" + ], + "text": "F" + }, + { + "name": "Globe", + "categories": [ + "LOGOS" + ], + "text": "G" + }, + { + "name": "Fallen", + "categories": [ + "LOGOS" + ], + "text": "H" + }, + { + "name": "Baker", + "categories": [ + "LOGOS" + ], + "text": "I" + }, + { + "name": "DVS", + "categories": [ + "LOGOS" + ], + "text": "J" + }, + { + "name": "Zero", + "categories": [ + "LOGOS" + ], + "text": "K" + }, + { + "name": "sign22", + "categories": [ + "LOGOS" + ], + "text": "L" + }, + { + "name": "sign23", + "categories": [ + "LOGOS" + ], + "text": "M" + }, + { + "name": "Adio", + "categories": [ + "LOGOS" + ], + "text": "N" + }, + { + "name": "Burton", + "categories": [ + "LOGOS" + ], + "text": "O" + }, + { + "name": "Mystery", + "categories": [ + "LOGOS" + ], + "text": "P" + }, + { + "name": "Shorty's", + "categories": [ + "LOGOS" + ], + "text": "Q" + }, + { + "name": "Ricta", + "categories": [ + "LOGOS" + ], + "text": "R" + }, + { + "name": "Santa Cruz", + "categories": [ + "LOGOS" + ], + "text": "S" + }, + { + "name": "Tensor", + "categories": [ + "LOGOS" + ], + "text": "T" + }, + { + "name": "Thrasher", + "categories": [ + "LOGOS" + ], + "text": "U" + }, + { + "name": "sign32", + "categories": [ + "LOGOS" + ], + "text": "V" + }, + { + "name": "Volcom", + "categories": [ + "LOGOS" + ], + "text": "W" + }, + { + "name": "sign34", + "categories": [ + "LOGOS" + ], + "text": "X" + }, + { + "name": "Toy machine", + "categories": [ + "LOGOS" + ], + "text": "Y" + }, + { + "name": "sign36", + "categories": [ + "LOGOS" + ], + "text": "Z" + }, + { + "name": "Vans", + "categories": [ + "LOGOS" + ], + "text": "a" + }, + { + "name": "sign38", + "categories": [ + "LOGOS" + ], + "text": "b" + }, + { + "name": "Sector 9", + "categories": [ + "LOGOS" + ], + "text": "c" + }, + { + "name": "Rip Curl", + "categories": [ + "LOGOS" + ], + "text": "d" + }, + { + "name": "sign41", + "categories": [ + "LOGOS" + ], + "text": "e" + }, + { + "name": "sign42", + "categories": [ + "LOGOS" + ], + "text": "f" + }, + { + "name": "Es", + "categories": [ + "LOGOS" + ], + "text": "g" + }, + { + "name": "Path", + "categories": [ + "LOGOS" + ], + "text": "h" + }, + { + "name": "Bones", + "categories": [ + "LOGOS" + ], + "text": "i" + }, + { + "name": "Termite", + "categories": [ + "LOGOS" + ], + "text": "j" + }, + { + "name": "sign47", + "categories": [ + "LOGOS" + ], + "text": "k" + }, + { + "name": "Supra", + "categories": [ + "LOGOS" + ], + "text": "l" + }, + { + "name": "Black label", + "categories": [ + "LOGOS" + ], + "text": "m" + }, + { + "name": "Billabong", + "categories": [ + "LOGOS" + ], + "text": "n" + }, + { + "name": "Hurley", + "categories": [ + "LOGOS" + ], + "text": "o" + }, + { + "name": "Chocolate", + "categories": [ + "LOGOS" + ], + "text": "p" + }, + { + "name": "Habitat", + "categories": [ + "LOGOS" + ], + "text": "q" + }, + { + "name": "sign54", + "categories": [ + "LOGOS" + ], + "text": "r" + }, + { + "name": "Gangsta", + "categories": [ + "LOGOS" + ], + "text": "s" + }, + { + "name": "sign56", + "categories": [ + "LOGOS" + ], + "text": "t" + }, + { + "name": "Old industries", + "categories": [ + "LOGOS" + ], + "text": "u" + }, + { + "name": "sign58", + "categories": [ + "LOGOS" + ], + "text": "v" + }, + { + "name": "Alien workshop", + "categories": [ + "LOGOS" + ], + "text": "w" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-2/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-2/mapping.json new file mode 100644 index 0000000000..9a2a1141b5 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/logoskate-2/mapping.json @@ -0,0 +1,352 @@ +{ + "font": "/fonts/logoskate-2/Logoskate20-KEgD.ttf", + "name": "Logoskate 2", + "credits": "RASDESIGN", + "url": "https://www.fontspace.com/logoskate-font-f13141", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "sign1", + "categories": [ + "LOGOS" + ], + "text": "A" + }, + { + "name": "Circa", + "categories": [ + "LOGOS" + ], + "text": "B" + }, + { + "name": "Blind", + "categories": [ + "LOGOS" + ], + "text": "C" + }, + { + "name": "Hawk", + "categories": [ + "LOGOS" + ], + "text": "D" + }, + { + "name": "sign5", + "categories": [ + "LOGOS" + ], + "text": "E" + }, + { + "name": "Bones", + "categories": [ + "LOGOS" + ], + "text": "F" + }, + { + "name": "DGK", + "categories": [ + "LOGOS" + ], + "text": "G" + }, + { + "name": "Popwar", + "categories": [ + "LOGOS" + ], + "text": "H" + }, + { + "name": "Organika", + "categories": [ + "LOGOS" + ], + "text": "I" + }, + { + "name": "Lost", + "categories": [ + "LOGOS" + ], + "text": "J" + }, + { + "name": "Roxy", + "categories": [ + "LOGOS" + ], + "text": "K" + }, + { + "name": "sign12", + "categories": [ + "LOGOS" + ], + "text": "L" + }, + { + "name": "Adio", + "categories": [ + "LOGOS" + ], + "text": "M" + }, + { + "name": "sign14", + "categories": [ + "LOGOS" + ], + "text": "N" + }, + { + "name": "sign15", + "categories": [ + "LOGOS" + ], + "text": "O" + }, + { + "name": "sign16", + "categories": [ + "LOGOS" + ], + "text": "P" + }, + { + "name": "Krooked", + "categories": [ + "LOGOS" + ], + "text": "Q" + }, + { + "name": "sign18", + "categories": [ + "LOGOS" + ], + "text": "R" + }, + { + "name": "Fox", + "categories": [ + "LOGOS" + ], + "text": "S" + }, + { + "name": "Duffed", + "categories": [ + "LOGOS" + ], + "text": "T" + }, + { + "name": "sign21", + "categories": [ + "LOGOS" + ], + "text": "U" + }, + { + "name": "Matix", + "categories": [ + "LOGOS" + ], + "text": "V" + }, + { + "name": "Kana Beach", + "categories": [ + "LOGOS" + ], + "text": "W" + }, + { + "name": "Atticus", + "categories": [ + "LOGOS" + ], + "text": "X" + }, + { + "name": "Creature", + "categories": [ + "LOGOS" + ], + "text": "Y" + }, + { + "name": "LRG", + "categories": [ + "LOGOS" + ], + "text": "Z" + }, + { + "name": "sign27", + "categories": [ + "LOGOS" + ], + "text": "a" + }, + { + "name": "VC", + "categories": [ + "LOGOS" + ], + "text": "b" + }, + { + "name": "Circa", + "categories": [ + "LOGOS" + ], + "text": "c" + }, + { + "name": "sign30", + "categories": [ + "LOGOS" + ], + "text": "d" + }, + { + "name": "Chimson", + "categories": [ + "LOGOS" + ], + "text": "e" + }, + { + "name": "Sk8mafia", + "categories": [ + "LOGOS" + ], + "text": "f" + }, + { + "name": "Hookups", + "categories": [ + "LOGOS" + ], + "text": "g" + }, + { + "name": "sign34", + "categories": [ + "LOGOS" + ], + "text": "h" + }, + { + "name": "GvR", + "categories": [ + "LOGOS" + ], + "text": "i" + }, + { + "name": "Jart", + "categories": [ + "LOGOS" + ], + "text": "j" + }, + { + "name": "Enjoi", + "categories": [ + "LOGOS" + ], + "text": "k" + }, + { + "name": "Jart", + "categories": [ + "LOGOS" + ], + "text": "l" + }, + { + "name": "Mini LOGO", + "categories": [ + "LOGOS" + ], + "text": "m" + }, + { + "name": "Riviera", + "categories": [ + "LOGOS" + ], + "text": "n" + }, + { + "name": "Soeed Demon", + "categories": [ + "LOGOS" + ], + "text": "o" + }, + { + "name": "City Stars", + "categories": [ + "LOGOS" + ], + "text": "p" + }, + { + "name": "Dooks", + "categories": [ + "LOGOS" + ], + "text": "q" + }, + { + "name": "Inees", + "categories": [ + "LOGOS" + ], + "text": "r" + }, + { + "name": "Gravis", + "categories": [ + "LOGOS" + ], + "text": "s" + }, + { + "name": "sign46", + "categories": [ + "LOGOS" + ], + "text": "t" + }, + { + "name": "Elwood", + "categories": [ + "LOGOS" + ], + "text": "u" + }, + { + "name": "Diamond", + "categories": [ + "LOGOS" + ], + "text": "v" + }, + { + "name": "Volcom", + "categories": [ + "LOGOS" + ], + "text": "w" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/mythical/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/mythical/mapping.json new file mode 100644 index 0000000000..1bbf848ced --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/mythical/mapping.json @@ -0,0 +1,366 @@ +{ + "font": "/fonts/mythical/MythicalAndHopliteNoodgies-gwOP.ttf", + "name": "Mythical & Hoplite Noodgies Font", + "credits": "Walter Velez", + "url": "https://www.fontspace.com/mythical-and-hoplite-noodgies-font-f3780", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Chariot", + "categories": [ + "MYTHICAL" + ], + "text": "A" + }, + { + "name": "Musician", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "D" + }, + { + "name": "Feet", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "E" + }, + { + "name": "Warrior 1", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "J" + }, + { + "name": "Warrior 2", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "K" + }, + { + "name": "Warrior 3", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "L" + }, + { + "name": "Warrior 4", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "M" + }, + { + "name": "Warrior 5", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "N" + }, + { + "name": "Warrior 6", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "O" + }, + { + "name": "Warrior 7", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "P" + }, + { + "name": "Warrior 8", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "G" + }, + { + "name": "Warrior 9", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "H" + }, + { + "name": "Warrior 10", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "I" + }, + { + "name": "Warrior 11", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "F" + }, + { + "name": "Warrior 12", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "C" + }, + { + "name": "Warrior 13", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "B" + }, + { + "name": "Snake", + "categories": [ + "ANIMALS" + ], + "text": "Q" + }, + { + "name": "Sphinx 1", + "categories": [ + "MYTHICAL" + ], + "text": "R" + }, + { + "name": "Antelope", + "categories": [ + "ANIMALS" + ], + "text": "S" + }, + { + "name": "Lion", + "categories": [ + "ANIMALS" + ], + "text": "T" + }, + { + "name": "Pegasus", + "categories": [ + "MYTHICAL" + ], + "text": "U" + }, + { + "name": "Leopard", + "categories": [ + "ANIMALS" + ], + "text": "V" + }, + { + "name": "Rooster", + "categories": [ + "ANIMALS" + ], + "text": "W" + }, + { + "name": "Octopus", + "categories": [ + "ANIMALS" + ], + "text": "X" + }, + { + "name": "Face plate", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Y" + }, + { + "name": "Dolphin", + "categories": [ + "ANIMALS" + ], + "text": "Z" + }, + { + "name": "Pegasus", + "categories": [ + "MYTHICAL" + ], + "text": "a" + }, + { + "name": "?", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "b" + }, + { + "name": "Minotaur", + "categories": [ + "MYTHICAL" + ], + "text": "c" + }, + { + "name": "Skull and helment", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "d" + }, + { + "name": "Centaur", + "categories": [ + "MYTHICAL" + ], + "text": "e" + }, + { + "name": "Cyclops", + "categories": [ + "MYTHICAL" + ], + "text": "f" + }, + { + "name": "Medusa", + "categories": [ + "MYTHICAL" + ], + "text": "g" + }, + { + "name": "Mermaid", + "categories": [ + "MYTHICAL" + ], + "text": "h" + }, + { + "name": "Winged man", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "i" + }, + { + "name": "Sphinx 2", + "categories": [ + "MYTHICAL" + ], + "text": "j" + }, + { + "name": "Cherub", + "categories": [ + "MYTHICAL" + ], + "text": "k" + }, + { + "name": "Ship ancient greece", + "categories": [ + "TRANSPORTATION" + ], + "text": "l" + }, + { + "name": "Runner", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "m" + }, + { + "name": "mythical 41", + "categories": [ + "MYTHICAL" + ], + "text": "n" + }, + { + "name": "mythical 42", + "categories": [ + "MYTHICAL" + ], + "text": "o" + }, + { + "name": "mythical 43", + "categories": [ + "MYTHICAL" + ], + "text": "p" + }, + { + "name": "Worker", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "q" + }, + { + "name": "Cherberus", + "categories": [ + "MYTHICAL" + ], + "text": "r" + }, + { + "name": "Harp", + "categories": [ + "TOOLS" + ], + "text": "s" + }, + { + "name": "mythical 47", + "categories": [ + "MYTHICAL" + ], + "text": "t" + }, + { + "name": "mythical 48", + "categories": [ + "MYTHICAL" + ], + "text": "u" + }, + { + "name": "Zeus", + "categories": [ + "MYTHICAL" + ], + "text": "v" + }, + { + "name": "Trojan horse", + "categories": [ + "MYTHICAL" + ], + "text": "w" + }, + { + "name": "Griffin", + "categories": [ + "MYTHICAL" + ], + "text": "x" + }, + { + "name": "Harpies", + "categories": [ + "MYTHICAL" + ], + "text": "y" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sealife/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sealife/mapping.json new file mode 100644 index 0000000000..bdcfe864a4 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sealife/mapping.json @@ -0,0 +1,177 @@ +{ + "font": "/fonts/sealife/Sealife-o140.ttf", + "name": "Sealife", + "credits": "Sassy Graphics", + "url": "https://www.fontspace.com/sealife-font-f9793", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "turtle", + "categories": [ + "ANIMALS" + ], + "text": "A" + }, + { + "name": "decorations 1", + "categories": [ + "DECORATIONS" + ], + "text": "B" + }, + { + "name": "decorations 2", + "categories": [ + "DECORATIONS" + ], + "text": "C" + }, + { + "name": "decorations 3", + "categories": [ + "DECORATIONS" + ], + "text": "D" + }, + { + "name": "decorations 4", + "categories": [ + "DECORATIONS" + ], + "text": "E" + }, + { + "name": "decorations 5", + "categories": [ + "DECORATIONS" + ], + "text": "F" + }, + { + "name": "seahorse", + "categories": [ + "ANIMALS" + ], + "text": "G" + }, + { + "name": "mythical 1", + "categories": [ + "MYTHICAL" + ], + "text": "H" + }, + { + "name": "mythical 2", + "categories": [ + "MYTHICAL" + ], + "text": "I" + }, + { + "name": "shrimp", + "categories": [ + "ANIMALS" + ], + "text": "J" + }, + { + "name": "flower", + "categories": [ + "DECORATIONS" + ], + "text": "K" + }, + { + "name": "shell 1", + "categories": [ + "ANIMALS" + ], + "text": "L" + }, + { + "name": "shell 2", + "categories": [ + "ANIMALS" + ], + "text": "M" + }, + { + "name": "shell 3", + "categories": [ + "ANIMALS" + ], + "text": "N" + }, + { + "name": "shell 4", + "categories": [ + "ANIMALS" + ], + "text": "O" + }, + { + "name": "shell 5", + "categories": [ + "ANIMALS" + ], + "text": "P" + }, + { + "name": "shell 6", + "categories": [ + "ANIMALS" + ], + "text": "Q" + }, + { + "name": "octopus", + "categories": [ + "ANIMALS" + ], + "text": "R" + }, + { + "name": "lobster", + "categories": [ + "ANIMALS" + ], + "text": "S" + }, + { + "name": "shrimp", + "categories": [ + "ANIMALS" + ], + "text": "T" + }, + { + "name": "crab", + "categories": [ + "ANIMALS" + ], + "text": "U" + }, + { + "name": "decorations 6", + "categories": [ + "DECORATIONS" + ], + "text": "V" + }, + { + "name": "decorations 7", + "categories": [ + "DECORATIONS" + ], + "text": "W" + }, + { + "name": "decorations 8", + "categories": [ + "DECORATIONS" + ], + "text": "X" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sugar-coma-font/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sugar-coma-font/mapping.json new file mode 100644 index 0000000000..c777a113fb --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/sugar-coma-font/mapping.json @@ -0,0 +1,184 @@ +{ + "font": "/fonts/sugar-coma-font/SugarComa-nVV.ttf", + "name": "Sugar Coma", + "credits": "Blue Vinyl", + "url": "https://www.fontspace.com/sugar-coma-font-f980", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Soda", + "categories": [ + "FOOD" + ], + "text": "A" + }, + { + "name": "Cookie", + "categories": [ + "FOOD" + ], + "text": "B" + }, + { + "name": "Muffin", + "categories": [ + "FOOD" + ], + "text": "C" + }, + { + "name": "Cookies", + "categories": [ + "FOOD" + ], + "text": "D" + }, + { + "name": "Hot coco", + "categories": [ + "FOOD" + ], + "text": "E" + }, + { + "name": "Ice cream 2", + "categories": [ + "FOOD" + ], + "text": "F" + }, + { + "name": "Chocolate kiss", + "categories": [ + "FOOD" + ], + "text": "G" + }, + { + "name": "Lollipop 2", + "categories": [ + "FOOD" + ], + "text": "H" + }, + { + "name": "M&M", + "categories": [ + "FOOD" + ], + "text": "I" + }, + { + "name": "Pie", + "categories": [ + "FOOD" + ], + "text": "J" + }, + { + "name": "Ice cream", + "categories": [ + "FOOD" + ], + "text": "K" + }, + { + "name": "Milk shake", + "categories": [ + "FOOD" + ], + "text": "L" + }, + { + "name": "Strawberry", + "categories": [ + "FOOD" + ], + "text": "M" + }, + { + "name": "Food 12", + "categories": [ + "FOOD" + ], + "text": "N" + }, + { + "name": "Chocolate bar", + "categories": [ + "FOOD" + ], + "text": "O" + }, + { + "name": "Cake", + "categories": [ + "FOOD" + ], + "text": "P" + }, + { + "name": "Doughnut", + "categories": [ + "FOOD" + ], + "text": "Q" + }, + { + "name": "Candy 3", + "categories": [ + "FOOD" + ], + "text": "R" + }, + { + "name": "Soda 3", + "categories": [ + "FOOD" + ], + "text": "S" + }, + { + "name": "Candy", + "categories": [ + "FOOD" + ], + "text": "T" + }, + { + "name": "Sugar", + "categories": [ + "FOOD" + ], + "text": "U" + }, + { + "name": "Lollipop", + "categories": [ + "FOOD" + ], + "text": "V" + }, + { + "name": "Ice cream cone", + "categories": [ + "FOOD" + ], + "text": "W" + }, + { + "name": "Soda 2", + "categories": [ + "FOOD" + ], + "text": "X" + }, + { + "name": "Cookie 2", + "categories": [ + "FOOD" + ], + "text": "Y" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tool/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tool/mapping.json new file mode 100644 index 0000000000..63bfd480e4 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tool/mapping.json @@ -0,0 +1,310 @@ +{ + "font": "/fonts/tool/tool.ttf", + "name": "Tool", + "credits": "Daniel Zadorozny", + "url": "https://www.dafont.com/tool.font", + "license": "Free for non-commercial use", + "cliparts": [ + { + "name": "Allen key", + "categories": [ + "TOOLS" + ], + "text": "A" + }, + { + "name": "Axe", + "categories": [ + "TOOLS" + ], + "text": "B" + }, + { + "name": "Crow bar", + "categories": [ + "TOOLS" + ], + "text": "C" + }, + { + "name": "Screw driver 1", + "categories": [ + "TOOLS" + ], + "text": "D" + }, + { + "name": "Calipers", + "categories": [ + "TOOLS" + ], + "text": "E" + }, + { + "name": "Hammer", + "categories": [ + "TOOLS" + ], + "text": "F" + }, + { + "name": "Clamp", + "categories": [ + "TOOLS" + ], + "text": "G" + }, + { + "name": "Saw 1", + "categories": [ + "TOOLS" + ], + "text": ",H" + }, + { + "name": "Sledge", + "categories": [ + "TOOLS" + ], + "text": "I" + }, + { + "name": "Poly grip", + "categories": [ + "TOOLS" + ], + "text": "J" + }, + { + "name": "Pliers 1", + "categories": [ + "TOOLS" + ], + "text": "K" + }, + { + "name": "Ring spanner", + "categories": [ + "TOOLS" + ], + "text": "L" + }, + { + "name": "Hammer", + "categories": [ + "TOOLS" + ], + "text": "M" + }, + { + "name": "Pliers 2", + "categories": [ + "TOOLS" + ], + "text": "N" + }, + { + "name": "Spatula", + "categories": [ + "TOOLS" + ], + "text": "O" + }, + { + "name": "Pipe wrench", + "categories": [ + "TOOLS" + ], + "text": "P" + }, + { + "name": "Fixed spanner", + "categories": [ + "TOOLS" + ], + "text": "Q" + }, + { + "name": "Carpet knife", + "categories": [ + "TOOLS" + ], + "text": "R" + }, + { + "name": "Saw 2", + "categories": [ + "TOOLS" + ], + "text": "S" + }, + { + "name": "Tape", + "categories": [ + "TOOLS" + ], + "text": "T" + }, + { + "name": "Glue gun", + "categories": [ + "TOOLS" + ], + "text": "U" + }, + { + "name": "Planer", + "categories": [ + "TOOLS" + ], + "text": "V" + }, + { + "name": "Fixed spanner 2", + "categories": [ + "TOOLS" + ], + "text": "W" + }, + { + "name": "Screw driver 2", + "categories": [ + "TOOLS" + ], + "text": "X" + }, + { + "name": "Pliers 3", + "categories": [ + "TOOLS" + ], + "text": "Y" + }, + { + "name": "Scissor", + "categories": [ + "TOOLS" + ], + "text": "Z" + }, + { + "name": "Screw", + "categories": [ + "TOOLS" + ], + "text": "0" + }, + { + "name": "Pallet", + "categories": [ + "TOOLS" + ], + "text": "2" + }, + { + "name": "Multi tool", + "categories": [ + "TOOLS" + ], + "text": "3" + }, + { + "name": "Saw 3", + "categories": [ + "TOOLS" + ], + "text": ",\"" + }, + { + "name": "Screw driver 3", + "categories": [ + "TOOLS" + ], + "text": "5" + }, + { + "name": "Screw driver 4", + "categories": [ + "TOOLS" + ], + "text": "6" + }, + { + "name": "Wrench", + "categories": [ + "TOOLS" + ], + "text": "7" + }, + { + "name": "Tweezers", + "categories": [ + "TOOLS" + ], + "text": "9" + }, + { + "name": "Flashlight", + "categories": [ + "TOOLS" + ], + "text": "?" + }, + { + "name": "Nut", + "categories": [ + "TOOLS" + ], + "text": "+" + }, + { + "name": "Tape measure", + "categories": [ + "TOOLS" + ], + "text": "<" + }, + { + "name": "Angle hook", + "categories": [ + "TOOLS" + ], + "text": "[" + }, + { + "name": "Ladder", + "categories": [ + "TOOLS" + ], + "text": "." + }, + { + "name": "Hook", + "categories": [ + "TOOLS" + ], + "text": ";" + }, + { + "name": "Pliers", + "categories": [ + "TOOLS" + ], + "text": "\\" + }, + { + "name": "Nail", + "categories": [ + "TOOLS" + ], + "text": "_" + }, + { + "name": "Multi spanner", + "categories": [ + "TOOLS" + ], + "text": "~" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/transdings/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/transdings/mapping.json new file mode 100644 index 0000000000..5c3ba7f13b --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/transdings/mapping.json @@ -0,0 +1,485 @@ +{ + "font": "/fonts/transdings/Transdings-WaoO.ttf", + "name": "Transdings", + "credits": "Pixel Sagas", + "url": "https://www.fontspace.com/transdings-font-f18144", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Transformers Sector7", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "," + }, + { + "name": "Transformers 02", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "." + }, + { + "name": "Transformers 03", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "0" + }, + { + "name": "Transformers 04", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "1" + }, + { + "name": "Transformers 05", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "2" + }, + { + "name": "Transformers 06", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "3" + }, + { + "name": "Transformers 07", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "4" + }, + { + "name": "Transformers 09", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "5" + }, + { + "name": "Transformers 10", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": ":" + }, + { + "name": "Transformers 11", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": ";" + }, + { + "name": "Transformers 12", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "@" + }, + { + "name": "Transformers Autobot 1", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "A" + }, + { + "name": "Transformers 14", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "B" + }, + { + "name": "Transformers 15", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "C" + }, + { + "name": "Transformers 16", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "D" + }, + { + "name": "Transformers 17", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "E" + }, + { + "name": "Transformers 18", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "F" + }, + { + "name": "Transformers 19", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "G" + }, + { + "name": "Transformers 20", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "H" + }, + { + "name": "Transformers 21", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "I" + }, + { + "name": "Transformers 22", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "J" + }, + { + "name": "Transformers 23", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "K" + }, + { + "name": "Transformers 24", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "L" + }, + { + "name": "Transformers 25", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "M" + }, + { + "name": "Transformers Autobot 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "N" + }, + { + "name": "Transformers Autobot 3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "O" + }, + { + "name": "Transformers Wreckers", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "P" + }, + { + "name": "Transformers Autobot 5", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Q" + }, + { + "name": "Transformers 30", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "R" + }, + { + "name": "Transformers 31", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "S" + }, + { + "name": "Transformers Autobot 5", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "T" + }, + { + "name": "Transformers 33", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "V" + }, + { + "name": "Transformers 34", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "W" + }, + { + "name": "Transformers 35", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "X" + }, + { + "name": "Transformers 36", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Y" + }, + { + "name": "Transformers 37", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Z" + }, + { + "name": "Transformers 38", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "[" + }, + { + "name": "Transformers 39", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "\\" + }, + { + "name": "Transformers Decepticons 4", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "]" + }, + { + "name": "Transformers 41", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "`" + }, + { + "name": "Transformers Decepticons 1", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "a" + }, + { + "name": "Transformers 43", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "b" + }, + { + "name": "Transformers 44", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "c" + }, + { + "name": "Transformers 45", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "d" + }, + { + "name": "Transformers 46", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "e" + }, + { + "name": "Transformers 47", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "f" + }, + { + "name": "Transformers 48", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "g" + }, + { + "name": "Transformers 49", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "h" + }, + { + "name": "Transformers 50", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "i" + }, + { + "name": "Transformers 51", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "j" + }, + { + "name": "Transformers 52", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "k" + }, + { + "name": "Transformers 53", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "l" + }, + { + "name": "Transformers 54", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "m" + }, + { + "name": "Transformers 55", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "n" + }, + { + "name": "Transformers 56", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "o" + }, + { + "name": "Transformers Decepticons 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "p" + }, + { + "name": "Transformers 58", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "q" + }, + { + "name": "Transformers 59", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "r" + }, + { + "name": "Transformers 60", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "s" + }, + { + "name": "Transformers Ultracon", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "t" + }, + { + "name": "Transformers 62", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "u" + }, + { + "name": "Transformers 63", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "v" + }, + { + "name": "Transformers 64", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "w" + }, + { + "name": "Transformers Decepticons 3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "x" + }, + { + "name": "Transformers 66", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "y" + }, + { + "name": "Transformers 67", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "z" + }, + { + "name": "Transformers 69", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "~" + }, + { + "name": "Transformers 70", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": ";" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/travelcons/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/travelcons/mapping.json new file mode 100644 index 0000000000..a2e554ec36 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/travelcons/mapping.json @@ -0,0 +1,415 @@ +{ + "font": "/fonts/travelcons/travelcons.ttf", + "name": "Travelcons", + "credits": "Daniel Zadorozny", + "url": "https://www.dafont.com/travelcons.font", + "license": "Free for non-commercial use", + "cliparts": [ + { + "name": "Ship", + "categories": [ + "TRANSPORTATION" + ], + "text": "A" + }, + { + "name": "Drink", + "categories": [ + "FOOD" + ], + "text": "B" + }, + { + "name": "Camping", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "C" + }, + { + "name": "Bus and Taxi", + "categories": [ + "TRANSPORTATION" + ], + "text": "D" + }, + { + "name": "Wheelchair", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "E" + }, + { + "name": "Restaurant", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "F" + }, + { + "name": "Gift shop", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "G" + }, + { + "name": "Helicopter", + "categories": [ + "TRANSPORTATION" + ], + "text": "H" + }, + { + "name": "Passport control", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "I" + }, + { + "name": "Accessories", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "J" + }, + { + "name": "Closet", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "K" + }, + { + "name": "Reading", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "L" + }, + { + "name": "Hospital", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "M" + }, + { + "name": "Fire extinguisher", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "N" + }, + { + "name": "Emergency", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "O" + }, + { + "name": "Boat", + "categories": [ + "TRANSPORTATION" + ], + "text": "P" + }, + { + "name": "Question", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Q" + }, + { + "name": "Car key", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "R" + }, + { + "name": "Electrical", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "S" + }, + { + "name": "Passport control", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "T" + }, + { + "name": "Recycle", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "U" + }, + { + "name": "Exit", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "V" + }, + { + "name": "Water", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "W" + }, + { + "name": "Restroom", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "X" + }, + { + "name": "Hair salon", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Y" + }, + { + "name": "Baggage", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Z" + }, + { + "name": "Airplane", + "categories": [ + "TRANSPORTATION" + ], + "text": "a" + }, + { + "name": "Bus", + "categories": [ + "TRANSPORTATION" + ], + "text": "b" + }, + { + "name": "Coffey", + "categories": [ + "FOOD" + ], + "text": "c" + }, + { + "name": "Doctor", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "d" + }, + { + "name": "Escalator", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "e" + }, + { + "name": "Fast food", + "categories": [ + "FOOD" + ], + "text": "f" + }, + { + "name": "Shopping cart", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "g" + }, + { + "name": "Bed", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "h" + }, + { + "name": "Ice cream", + "categories": [ + "FOOD" + ], + "text": "i" + }, + { + "name": "Waiting hall", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "j" + }, + { + "name": "Blind man", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "k" + }, + { + "name": "Baggage storage", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "l" + }, + { + "name": "Mail", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "m" + }, + { + "name": "Meeting hall?", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "n" + }, + { + "name": "Money exchange", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "o" + }, + { + "name": "Telephone", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "p" + }, + { + "name": "Restroom - men", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "q" + }, + { + "name": "Train", + "categories": [ + "TRANSPORTATION" + ], + "text": "r" + }, + { + "name": "Stairs", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "s" + }, + { + "name": "Garbage", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "t" + }, + { + "name": "Customs", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "u" + }, + { + "name": "Elevator", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "v" + }, + { + "name": "Restroom - woman", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "w" + }, + { + "name": "Taxi", + "categories": [ + "TRANSPORTATION" + ], + "text": "x" + }, + { + "name": "Ticket", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "y" + }, + { + "name": "Bicycle", + "categories": [ + "TRANSPORTATION" + ], + "text": "z" + }, + { + "name": "?", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "0" + }, + { + "name": "Direction", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "1" + }, + { + "name": "No phones", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "5" + }, + { + "name": "No entry", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "6" + }, + { + "name": "No smoking", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "7" + }, + { + "name": "No parking", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "9" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tropicana/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tropicana/mapping.json new file mode 100644 index 0000000000..de177d424c --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/tropicana/mapping.json @@ -0,0 +1,191 @@ +{ + "font": "/fonts/tropicana/TropicanaBv-83M.ttf", + "name": "Tropicana", + "credits": "Blue Vinyl", + "url": "https://www.fontspace.com/tropicana-bv-font-f984", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "hibiskus", + "categories": [ + "PLANTS" + ], + "text": "A" + }, + { + "name": "leaf", + "categories": [ + "PLANTS" + ], + "text": "B" + }, + { + "name": "palm tree", + "categories": [ + "PLANTS" + ], + "text": "F" + }, + { + "name": "palm tree", + "categories": [ + "PLANTS" + ], + "text": "G" + }, + { + "name": "flower", + "categories": [ + "PLANTS" + ], + "text": "V" + }, + { + "name": "lanterns", + "categories": [ + "MYTHICAL" + ], + "text": "H" + }, + { + "name": "tiki mask", + "categories": [ + "MYTHICAL" + ], + "text": "I" + }, + { + "name": "pineapple", + "categories": [ + "FOOD" + ], + "text": "J" + }, + { + "name": "coconuts", + "categories": [ + "FOOD" + ], + "text": "K" + }, + { + "name": "drink", + "categories": [ + "FOOD" + ], + "text": "L" + }, + { + "name": "hulu woman", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "M" + }, + { + "name": "surfer", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "N" + }, + { + "name": "hulu woman", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "U" + }, + { + "name": "flower necklace", + "categories": [ + "UNSORTED" + ], + "text": "C" + }, + { + "name": "ukulele", + "categories": [ + "UNSORTED" + ], + "text": "D" + }, + { + "name": "barrel", + "categories": [ + "UNSORTED" + ], + "text": "E" + }, + { + "name": "sandals", + "categories": [ + "UNSORTED" + ], + "text": "S" + }, + { + "name": "pendant", + "categories": [ + "UNSORTED" + ], + "text": "T" + }, + { + "name": "fish", + "categories": [ + "ANIMALS" + ], + "text": "O" + }, + { + "name": "sea star", + "categories": [ + "ANIMALS" + ], + "text": "P" + }, + { + "name": "shell", + "categories": [ + "ANIMALS" + ], + "text": "Q" + }, + { + "name": "parrot", + "categories": [ + "ANIMALS" + ], + "text": "R" + }, + { + "name": "cabin", + "categories": [ + "BUILDINGS" + ], + "text": "W" + }, + { + "name": "machete", + "categories": [ + "TOOLS" + ], + "text": "X" + }, + { + "name": "bamboo", + "categories": [ + "DECORATIONS" + ], + "text": "Y" + }, + { + "name": "bamboo", + "categories": [ + "DECORATIONS" + ], + "text": "Z" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-corners-23-font/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-corners-23-font/mapping.json new file mode 100644 index 0000000000..b7b5d53320 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-corners-23-font/mapping.json @@ -0,0 +1,51 @@ +{ + "font": "/fonts/vintage-decorative-corners-23-font/VintageDecorativeCorners23-5wXa.ttf", + "name": "Vintage Corners 23", + "credits": "Sughayer Foundry", + "url": "https://www.fontspace.com/wwfreebie-font-f3394", + "license": "Free for non-commercial use", + "cliparts": [ + { + "name": "Corner 04", + "categories": [ + "DECORATIONS" + ], + "text": "d" + }, + { + "name": "Corner 10", + "categories": [ + "DECORATIONS" + ], + "text": "j" + }, + { + "name": "Corner 15", + "categories": [ + "DECORATIONS" + ], + "text": "o" + }, + { + "name": "Corner 17", + "categories": [ + "DECORATIONS" + ], + "text": "q" + }, + { + "name": "Corner 20", + "categories": [ + "DECORATIONS" + ], + "text": "t" + }, + { + "name": "Corner 24", + "categories": [ + "DECORATIONS" + ], + "text": "x" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-signs-2-font/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-signs-2-font/mapping.json new file mode 100644 index 0000000000..3b4cbaa081 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/vintage-decorative-signs-2-font/mapping.json @@ -0,0 +1,443 @@ +{ + "font": "/fonts/vintage-decorative-signs-2-font/VintageDecorativeSigns2-mmLG.ttf", + "name": "Vintage Decorative signs 2", + "credits": "Sughayer Foundry", + "url": "https://www.fontspace.com/vintage-decorative-signs-2-font-f19771", + "license": "Free for non-commercial use", + "cliparts": [ + { + "font": "Frame 01", + "categories": [ + "DECORATIONS" + ], + "text": "a" + }, + { + "font": "Frame 02", + "categories": [ + "DECORATIONS" + ], + "text": "b" + }, + { + "font": "Frame 03", + "categories": [ + "DECORATIONS" + ], + "text": "c" + }, + { + "font": "Frame 04", + "categories": [ + "DECORATIONS" + ], + "text": "d" + }, + { + "font": "Frame 05", + "categories": [ + "DECORATIONS" + ], + "text": "e" + }, + { + "font": "Frame 06", + "categories": [ + "DECORATIONS" + ], + "text": "f" + }, + { + "font": "Frame 07", + "categories": [ + "DECORATIONS" + ], + "text": "g" + }, + { + "font": "Frame 08", + "categories": [ + "DECORATIONS" + ], + "text": "h" + }, + { + "font": "Frame 09", + "categories": [ + "DECORATIONS" + ], + "text": "i" + }, + { + "font": "Frame 10", + "categories": [ + "DECORATIONS" + ], + "text": "j" + }, + { + "font": "Frame 11", + "categories": [ + "DECORATIONS" + ], + "text": "k" + }, + { + "font": "Frame 12", + "categories": [ + "DECORATIONS" + ], + "text": "l" + }, + { + "font": "Frame 13", + "categories": [ + "DECORATIONS" + ], + "text": "m" + }, + { + "font": "Frame 14", + "categories": [ + "DECORATIONS" + ], + "text": "n" + }, + { + "font": "Frame 15", + "categories": [ + "DECORATIONS" + ], + "text": "o" + }, + { + "font": "Frame 16", + "categories": [ + "DECORATIONS" + ], + "text": "p" + }, + { + "font": "Frame 17", + "categories": [ + "DECORATIONS" + ], + "text": "q" + }, + { + "font": "Frame 18", + "categories": [ + "DECORATIONS" + ], + "text": "r" + }, + { + "font": "Frame 19", + "categories": [ + "DECORATIONS" + ], + "text": "s" + }, + { + "font": "Frame 20", + "categories": [ + "DECORATIONS" + ], + "text": "t" + }, + { + "font": "Frame 21", + "categories": [ + "DECORATIONS" + ], + "text": "u" + }, + { + "font": "Frame 22", + "categories": [ + "DECORATIONS" + ], + "text": "v" + }, + { + "font": "Frame 23", + "categories": [ + "DECORATIONS" + ], + "text": "w" + }, + { + "font": "Frame 24", + "categories": [ + "DECORATIONS" + ], + "text": "x" + }, + { + "font": "Frame 25", + "categories": [ + "DECORATIONS" + ], + "text": "y" + }, + { + "font": "Frame 26", + "categories": [ + "DECORATIONS" + ], + "text": "z" + }, + { + "font": "Frame 27", + "categories": [ + "DECORATIONS" + ], + "text": "A" + }, + { + "font": "Frame 28", + "categories": [ + "DECORATIONS" + ], + "text": "B" + }, + { + "font": "Frame 29", + "categories": [ + "DECORATIONS" + ], + "text": "C" + }, + { + "font": "Frame 30", + "categories": [ + "DECORATIONS" + ], + "text": "D" + }, + { + "font": "Frame 31", + "categories": [ + "DECORATIONS" + ], + "text": "E" + }, + { + "font": "Frame 32", + "categories": [ + "DECORATIONS" + ], + "text": "F" + }, + { + "font": "Frame 33", + "categories": [ + "DECORATIONS" + ], + "text": "G" + }, + { + "font": "Frame 34", + "categories": [ + "DECORATIONS" + ], + "text": "H" + }, + { + "font": "Frame 35", + "categories": [ + "DECORATIONS" + ], + "text": "I" + }, + { + "font": "Frame 36", + "categories": [ + "DECORATIONS" + ], + "text": "J" + }, + { + "font": "Frame 37", + "categories": [ + "DECORATIONS" + ], + "text": "K" + }, + { + "font": "Frame 38", + "categories": [ + "DECORATIONS" + ], + "text": "L" + }, + { + "font": "Frame 39", + "categories": [ + "DECORATIONS" + ], + "text": "M" + }, + { + "font": "Frame 40", + "categories": [ + "DECORATIONS" + ], + "text": "N" + }, + { + "font": "Frame 41", + "categories": [ + "DECORATIONS" + ], + "text": "O" + }, + { + "font": "Frame 42", + "categories": [ + "DECORATIONS" + ], + "text": "P" + }, + { + "font": "Frame 43", + "categories": [ + "DECORATIONS" + ], + "text": "Q" + }, + { + "font": "Frame 44", + "categories": [ + "DECORATIONS" + ], + "text": "R" + }, + { + "font": "Frame 45", + "categories": [ + "DECORATIONS" + ], + "text": "S" + }, + { + "font": "Frame 46", + "categories": [ + "DECORATIONS" + ], + "text": "T" + }, + { + "font": "Frame 47", + "categories": [ + "DECORATIONS" + ], + "text": "U" + }, + { + "font": "Frame 48", + "categories": [ + "DECORATIONS" + ], + "text": "V" + }, + { + "font": "Frame 49", + "categories": [ + "DECORATIONS" + ], + "text": "W" + }, + { + "font": "Frame 50", + "categories": [ + "DECORATIONS" + ], + "text": "X" + }, + { + "font": "Frame 51", + "categories": [ + "DECORATIONS" + ], + "text": "Y" + }, + { + "font": "Frame 52", + "categories": [ + "DECORATIONS" + ], + "text": "Z" + }, + { + "font": "Frame 53", + "categories": [ + "DECORATIONS" + ], + "text": "0" + }, + { + "font": "Frame 54", + "categories": [ + "DECORATIONS" + ], + "text": "1" + }, + { + "font": "Frame 55", + "categories": [ + "DECORATIONS" + ], + "text": "2" + }, + { + "font": "Frame 56", + "categories": [ + "DECORATIONS" + ], + "text": "3" + }, + { + "font": "Frame 57", + "categories": [ + "DECORATIONS" + ], + "text": "4" + }, + { + "font": "Frame 58", + "categories": [ + "DECORATIONS" + ], + "text": "5" + }, + { + "font": "Frame 59", + "categories": [ + "DECORATIONS" + ], + "text": "6" + }, + { + "font": "Frame 60", + "categories": [ + "DECORATIONS" + ], + "text": "7" + }, + { + "font": "Frame 61", + "categories": [ + "DECORATIONS" + ], + "text": "8" + }, + { + "font": "Frame 62", + "categories": [ + "DECORATIONS" + ], + "text": "9" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/world-of-sci-fi-font/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/world-of-sci-fi-font/mapping.json new file mode 100644 index 0000000000..ad5d9076e6 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/world-of-sci-fi-font/mapping.json @@ -0,0 +1,359 @@ +{ + "font": "/fonts/world-of-sci-fi-font/WorldOfScifi-K7DvZ.ttf", + "name": "World of Sci Fi Font", + "credits": "Iconian Fonts", + "url": "https://www.fontspace.com/world-of-sci-fi-font-f87545", + "license": "Free for non-commercial use", + "cliparts": [ + { + "name": "Stargate", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "a" + }, + { + "name": "Cylon", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "c" + }, + { + "name": "Dalek", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "d" + }, + { + "name": "Star Wars - Storm trooper", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "e" + }, + { + "name": "Star Wars - Boba Fett", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "f" + }, + { + "name": "Alien", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "g" + }, + { + "name": "Borg", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "h" + }, + { + "name": "Harvester", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "i" + }, + { + "name": "Superman", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "j" + }, + { + "name": "Star Trek - Klingon", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "k" + }, + { + "name": "Live long and prosper", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "l" + }, + { + "name": "Alien", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "n" + }, + { + "name": "TRON light cycle", + "categories": [ + "TRANSPORTATION" + ], + "text": "o" + }, + { + "name": "Star Trek - Phaser", + "categories": [ + "TOOLS" + ], + "text": "p" + }, + { + "name": "Alien vs Predator", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "q" + }, + { + "name": "Robinson Robot.", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "r" + }, + { + "name": "Star Wars", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "s" + }, + { + "name": "Star Trek", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "t" + }, + { + "name": "Blaster", + "categories": [ + "TOOLS" + ], + "text": "u" + }, + { + "name": "Star Trek - Spock", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "v" + }, + { + "name": "Star Wars - Darth Vader", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "w" + }, + { + "name": "?", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "y" + }, + { + "name": "Star Trek - Bajor", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "B" + }, + { + "name": "Petnagon", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "C" + }, + { + "name": "E.T.", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "E" + }, + { + "name": "Godzilla", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "G" + }, + { + "name": "Star Trek - Cardassian", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "H" + }, + { + "name": "Star Wars - Dark empire", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "I" + }, + { + "name": "Star Wars - Jedi Order", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "J" + }, + { + "name": "Star Trek - Klingon", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "K" + }, + { + "name": "Star Trek - Terran empire", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "L" + }, + { + "name": "Star Wars - Mandalorians", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "M" + }, + { + "name": "Star Wars - Sand warrior", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "O" + }, + { + "name": "Jupiter", + "categories": [ + "UNSORTED" + ], + "text": "P" + }, + { + "name": "Star Wars - Strike fighter", + "categories": [ + "TRANSPORTATION" + ], + "text": "Q" + }, + { + "name": "Star Wars - Rebel Alliance", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "R" + }, + { + "name": "???", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "S" + }, + { + "name": "Star Trek - Star Federation", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "U" + }, + { + "name": "??", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "V" + }, + { + "name": "Star Wars - ATAT", + "categories": [ + "TRANSPORTATION" + ], + "text": "W" + }, + { + "name": "Star Wars - C3P0", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "X" + }, + { + "name": "Dave", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "1" + }, + { + "name": "Star Wars - R2D2", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "2" + }, + { + "name": "Arachnid", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "3" + }, + { + "name": "Independence day", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "4" + }, + { + "name": "Babylon 5", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "5" + }, + { + "name": "Buck Rogers - Twiki", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "6" + }, + { + "name": "Space man", + "categories": [ + "PEOPLE_AND_CHARACTERS" + ], + "text": "8" + }, + { + "name": "Moonbase Alpha", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "9" + }, + { + "name": "Star Wars - Blaster", + "categories": [ + "TOOLS" + ], + "text": "0" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/wwfreebie/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/wwfreebie/mapping.json new file mode 100644 index 0000000000..708a183724 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/wwfreebie/mapping.json @@ -0,0 +1,464 @@ +{ + "font": "/fonts/wwfreebie/Wwfreebie.ttf", + "name": "WWFreebie", + "credits": "WindWalker64", + "url": "https://www.fontspace.com/wwfreebie-font-f3394", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Teddy bear", + "categories": [ + "ANIMALS" + ], + "text": "'" + }, + { + "name": "Bow", + "categories": [ + "DECORATIONS" + ], + "text": "," + }, + { + "name": "sign3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "." + }, + { + "name": "sign4", + "categories": [ + "DECORATIONS" + ], + "text": "/" + }, + { + "name": "Clover", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "0" + }, + { + "name": "Clover 3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "1" + }, + { + "name": "Cards - Diamonds", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "2" + }, + { + "name": "Cards - Hearts", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "3" + }, + { + "name": "Cards - Clubs", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "4" + }, + { + "name": "Cards - Spades", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "5" + }, + { + "name": "Lips 1", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "6" + }, + { + "name": "Lips 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "7" + }, + { + "name": "Lips 3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "8" + }, + { + "name": "Dove", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "9" + }, + { + "name": "sign15", + "categories": [ + "DECORATIONS" + ], + "text": "A" + }, + { + "name": "sign16", + "categories": [ + "DECORATIONS" + ], + "text": "B" + }, + { + "name": "sign17", + "categories": [ + "DECORATIONS" + ], + "text": "C" + }, + { + "name": "sign18", + "categories": [ + "DECORATIONS" + ], + "text": "D" + }, + { + "name": "sign19", + "categories": [ + "DECORATIONS" + ], + "text": "E" + }, + { + "name": "Diamond", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "F" + }, + { + "name": "sign21", + "categories": [ + "DECORATIONS" + ], + "text": "G" + }, + { + "name": "Trident", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "H" + }, + { + "name": "sign23", + "categories": [ + "DECORATIONS" + ], + "text": "I" + }, + { + "name": "sign24", + "categories": [ + "DECORATIONS" + ], + "text": "J" + }, + { + "name": "sign25", + "categories": [ + "DECORATIONS" + ], + "text": "K" + }, + { + "name": "Star 7", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "L" + }, + { + "name": "Star 6", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "M" + }, + { + "name": "Star 5", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "N" + }, + { + "name": "Star 4", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "O" + }, + { + "name": "sign30", + "categories": [ + "DECORATIONS" + ], + "text": "P" + }, + { + "name": "sign31", + "categories": [ + "DECORATIONS" + ], + "text": "Q" + }, + { + "name": "sign32", + "categories": [ + "DECORATIONS" + ], + "text": "R" + }, + { + "name": "sign33", + "categories": [ + "DECORATIONS" + ], + "text": "S" + }, + { + "name": "sign34", + "categories": [ + "DECORATIONS" + ], + "text": "T" + }, + { + "name": "sign35", + "categories": [ + "DECORATIONS" + ], + "text": "U" + }, + { + "name": "sign36", + "categories": [ + "DECORATIONS" + ], + "text": "V" + }, + { + "name": "sign37", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "W" + }, + { + "name": "sign38", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "X" + }, + { + "name": "sign39", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Y" + }, + { + "name": "sign40", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "Z" + }, + { + "name": "sign41", + "categories": [ + "DECORATIONS" + ], + "text": "a" + }, + { + "name": "sign42", + "categories": [ + "DECORATIONS" + ], + "text": "b" + }, + { + "name": "sign43", + "categories": [ + "DECORATIONS" + ], + "text": "c" + }, + { + "name": "sign44", + "categories": [ + "DECORATIONS" + ], + "text": "d" + }, + { + "name": "sign45", + "categories": [ + "DECORATIONS" + ], + "text": "e" + }, + { + "name": "Star 3", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "f" + }, + { + "name": "Star 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "g" + }, + { + "name": "sign48", + "categories": [ + "DECORATIONS" + ], + "text": "h" + }, + { + "name": "sign49", + "categories": [ + "DECORATIONS" + ], + "text": "i" + }, + { + "name": "sign50", + "categories": [ + "DECORATIONS" + ], + "text": "j" + }, + { + "name": "sign51", + "categories": [ + "DECORATIONS" + ], + "text": "k" + }, + { + "name": "sign52", + "categories": [ + "DECORATIONS" + ], + "text": "l" + }, + { + "name": "Clover 2", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "m" + }, + { + "name": "sign54", + "categories": [ + "DECORATIONS" + ], + "text": "n" + }, + { + "name": "Star 1", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "o" + }, + { + "name": "sign56", + "categories": [ + "DECORATIONS" + ], + "text": "p" + }, + { + "name": "sign57", + "categories": [ + "DECORATIONS" + ], + "text": "q" + }, + { + "name": "sign58", + "categories": [ + "DECORATIONS" + ], + "text": "r" + }, + { + "name": "Star 9", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "s" + }, + { + "name": "Apperature", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "t" + }, + { + "name": "sign61", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "u" + }, + { + "name": "sign62", + "categories": [ + "SIGNS_AND_SYMBOLS" + ], + "text": "v" + }, + { + "name": "sign63", + "categories": [ + "DECORATIONS" + ], + "text": "w" + }, + { + "name": "sign64", + "categories": [ + "DECORATIONS" + ], + "text": "x" + }, + { + "name": "sign65", + "categories": [ + "DECORATIONS" + ], + "text": "y" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/xmas/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/xmas/mapping.json new file mode 100644 index 0000000000..d4b58d82cb --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/xmas/mapping.json @@ -0,0 +1,261 @@ +{ + "font": "/fonts/xmas/XmasClipart2.ttf", + "name": "Xmas", + "credits": "GemFonts", + "url": "https://www.fontspace.com/xmas-clipart-2-font-f4270", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Christmas Candy Cane 1", + "categories": [ + "HOLIDAY" + ], + "text": "A" + }, + { + "name": "Present 1", + "categories": [ + "HOLIDAY" + ], + "text": "B" + }, + { + "name": "Christmas Santa 1", + "categories": [ + "HOLIDAY" + ], + "text": "C" + }, + { + "name": "Christmas bells", + "categories": [ + "HOLIDAY" + ], + "text": "D" + }, + { + "name": "Christmas ornament 2", + "categories": [ + "HOLIDAY" + ], + "text": "E" + }, + { + "name": "Snow man 1", + "categories": [ + "HOLIDAY" + ], + "text": "F" + }, + { + "name": "Snow man 2", + "categories": [ + "HOLIDAY" + ], + "text": "G" + }, + { + "name": "Present 2", + "categories": [ + "HOLIDAY" + ], + "text": "H" + }, + { + "name": "Candle 1", + "categories": [ + "HOLIDAY" + ], + "text": "I" + }, + { + "name": "Present 3", + "categories": [ + "HOLIDAY" + ], + "text": "J" + }, + { + "name": "Christmas Sled 1", + "categories": [ + "HOLIDAY" + ], + "text": "K" + }, + { + "name": "Christmas Santa 3", + "categories": [ + "HOLIDAY" + ], + "text": "L" + }, + { + "name": "Christmas Sled 2", + "categories": [ + "HOLIDAY" + ], + "text": "M" + }, + { + "name": "Christmas ball 1", + "categories": [ + "HOLIDAY" + ], + "text": "N" + }, + { + "name": "Snow man 3", + "categories": [ + "HOLIDAY" + ], + "text": "O" + }, + { + "name": "Christmas tree 1", + "categories": [ + "HOLIDAY" + ], + "text": "P" + }, + { + "name": "Christmas Santa 4", + "categories": [ + "HOLIDAY" + ], + "text": "Q" + }, + { + "name": "Reindeer", + "categories": [ + "ANIMALS" + ], + "text": "R" + }, + { + "name": "Christmas ornament 1", + "categories": [ + "HOLIDAY" + ], + "text": "S" + }, + { + "name": "Christmas Santa 5", + "categories": [ + "HOLIDAY" + ], + "text": "T" + }, + { + "name": "Christmas Santa 6", + "categories": [ + "HOLIDAY" + ], + "text": "U" + }, + { + "name": "Christmas Elves", + "categories": [ + "HOLIDAY" + ], + "text": "V" + }, + { + "name": "Christmas ornament 3", + "categories": [ + "HOLIDAY" + ], + "text": "W" + }, + { + "name": "Christmas Santa 7", + "categories": [ + "HOLIDAY" + ], + "text": "X" + }, + { + "name": "Christmas Santa 8", + "categories": [ + "HOLIDAY" + ], + "text": "Y" + }, + { + "name": "Christmas Santa 9", + "categories": [ + "HOLIDAY" + ], + "text": "Z" + }, + { + "name": "Christmas Santa 10", + "categories": [ + "HOLIDAY" + ], + "text": "a" + }, + { + "name": "Christmas sock 2", + "categories": [ + "HOLIDAY" + ], + "text": "b" + }, + { + "name": "Christmas Santa 11", + "categories": [ + "HOLIDAY" + ], + "text": "c" + }, + { + "name": "Christmas Santa 12", + "categories": [ + "HOLIDAY" + ], + "text": "d" + }, + { + "name": "Snowman 4", + "categories": [ + "HOLIDAY" + ], + "text": "e" + }, + { + "name": "Christmas North pole", + "categories": [ + "HOLIDAY" + ], + "text": "f" + }, + { + "name": "Christmas Santa 14", + "categories": [ + "HOLIDAY" + ], + "text": "g" + }, + { + "name": "Christmas Santa 15", + "categories": [ + "HOLIDAY" + ], + "text": "h" + }, + { + "name": "Christmas Sled 3", + "categories": [ + "HOLIDAY" + ], + "text": "i" + }, + { + "name": "Christmas sock 1", + "categories": [ + "HOLIDAY" + ], + "text": "j" + } + ] +} \ No newline at end of file diff --git a/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/your-sign/mapping.json b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/your-sign/mapping.json new file mode 100644 index 0000000000..f8037675d5 --- /dev/null +++ b/ugs-platform/ugs-platform-plugin-designer/src/main/resources/fonts/your-sign/mapping.json @@ -0,0 +1,177 @@ +{ + "font": "/fonts/your-sign/YourSign.ttf", + "name": "Your sign", + "credits": "Lime", + "url": "https://www.1001fonts.com/your-sign-font.html", + "license": "Free for commercial use", + "cliparts": [ + { + "name": "Astrology - Aquarius 1", + "categories": [ + "MYTHICAL" + ], + "text": "A" + }, + { + "name": "Astrology - Pisces 1", + "categories": [ + "MYTHICAL" + ], + "text": "B" + }, + { + "name": "Astrology - Aries 1", + "categories": [ + "MYTHICAL" + ], + "text": "C" + }, + { + "name": "Astrology - Taurus 1", + "categories": [ + "MYTHICAL" + ], + "text": "D" + }, + { + "name": "Astrology - Gemeni 1", + "categories": [ + "MYTHICAL" + ], + "text": "E" + }, + { + "name": "Astrology - Cancer 1", + "categories": [ + "MYTHICAL" + ], + "text": "F" + }, + { + "name": "Astrology - Leo 1", + "categories": [ + "MYTHICAL" + ], + "text": "G" + }, + { + "name": "Astrology - Virgo 1", + "categories": [ + "MYTHICAL" + ], + "text": "H" + }, + { + "name": "Astrology - Libra 1", + "categories": [ + "MYTHICAL" + ], + "text": "I" + }, + { + "name": "Astrology - Scorpio 1", + "categories": [ + "MYTHICAL" + ], + "text": "J" + }, + { + "name": "Astrology - Sagittarius 1", + "categories": [ + "MYTHICAL" + ], + "text": "K" + }, + { + "name": "Astrology - Capricorn 1", + "categories": [ + "MYTHICAL" + ], + "text": "L" + }, + { + "name": "Astrology - Aquarius 2", + "categories": [ + "MYTHICAL" + ], + "text": "a" + }, + { + "name": "Astrology - Pisces 2", + "categories": [ + "MYTHICAL" + ], + "text": "b" + }, + { + "name": "Astrology - Aries 2", + "categories": [ + "MYTHICAL" + ], + "text": "c" + }, + { + "name": "Astrology - Taurus 2", + "categories": [ + "MYTHICAL" + ], + "text": "d" + }, + { + "name": "Astrology - Gemeni 2", + "categories": [ + "MYTHICAL" + ], + "text": "e" + }, + { + "name": "Astrology - Cancer 2", + "categories": [ + "MYTHICAL" + ], + "text": "f" + }, + { + "name": "Astrology - Leo 2", + "categories": [ + "MYTHICAL" + ], + "text": "g" + }, + { + "name": "Astrology - Virgo 2", + "categories": [ + "MYTHICAL" + ], + "text": "h" + }, + { + "name": "Astrology - Libra 2", + "categories": [ + "MYTHICAL" + ], + "text": "i" + }, + { + "name": "Astrology - Scorpio 2", + "categories": [ + "MYTHICAL" + ], + "text": "j" + }, + { + "name": "Astrology - Sagittarius 2", + "categories": [ + "MYTHICAL" + ], + "text": "k" + }, + { + "name": "Astrology - Capricorn 2", + "categories": [ + "MYTHICAL" + ], + "text": "l" + } + ] +} \ No newline at end of file