diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-21 00:19:34 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-21 00:19:34 +0300 |
commit | 03ad276bf93e160d19f693bf0a39ef095b0189b3 (patch) | |
tree | d80228a8f7e2b0b7d374d42c7b5b2925229ca970 | |
parent | 9f808fa0e43ae903d6159848d1331dcccb91434d (diff) |
find and load fonts from assets dir
66 files changed, 10 insertions, 48 deletions
diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X8.FNT b/src/sliceitoff/assets/8x8.fnt Binary files differindex f0b651e..f0b651e 100644 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X8.FNT +++ b/src/sliceitoff/assets/8x8.fnt diff --git a/src/sliceitoff/assets/COPYRIGHTS.txt b/src/sliceitoff/assets/COPYRIGHTS.txt new file mode 100644 index 0000000..07e9741 --- /dev/null +++ b/src/sliceitoff/assets/COPYRIGHTS.txt @@ -0,0 +1,6 @@ +*.fnt: + https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/gnufonts.html + GNU General Public License, Version 2 + +laser.mp3: + Samples from pixabay. Pixabay & Charlie_Raven. Edited by me. diff --git a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.DE b/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.DE deleted file mode 100644 index 5082bd5..0000000 --- a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.DE +++ /dev/null @@ -1,6 +0,0 @@ -Begin3
-Language: DE, 858
-Title: GNU chcp fonts
-Description: LOADFONT (GNUCHCP) rohe EGA/VGA-Bitmap-Schriftarten fr Textmodi.
-Keywords: loadfont gnuchcp bitmap font ega vga screen schriftart
-End
diff --git a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.FR b/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.FR deleted file mode 100644 index 24ef21a..0000000 --- a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.FR +++ /dev/null @@ -1,6 +0,0 @@ -Begin3
-Language: FR, 850
-Title: GNU chcp fonts
-Description: LOADFONT (GNUCHCP) polices bitmap EGA/VGA brutes pour les modes texte.
-Keywords: loadfont gnuchcp bitmap police ega vga ‚cran
-End
diff --git a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.LSM b/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.LSM deleted file mode 100644 index c399da5..0000000 --- a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.LSM +++ /dev/null @@ -1,16 +0,0 @@ -Begin3
-Title: GNU chcp fonts
-Version: 1.0a
-Entered-date: 2013-06-04
-Description: EGA/VGA bitmap fonts for text modes
-Keywords: loadfont gnuchcp bitmap font ega vga screen
-Author: Kurt Zammit
-Maintained-by: Kurt Zammit
-Primary-site: http://zammitsoft.freeservers.com
-Mirror-site: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/
-Original-site: http://zammitsoft.freeservers.com
-Platforms: DOS
-Copying-policy: GNU General Public License, Version 2
-Summary: Raw EGA/VGA bitmap fonts for text modes.
-Modified-date: 2022-02-17.0 -end diff --git a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.SV b/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.SV deleted file mode 100644 index df108ff..0000000 --- a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.SV +++ /dev/null @@ -1,6 +0,0 @@ -Begin3
-Language: SV, 850
-Title: GNU chcp-typsnitt
-Description: LOADFONT (GNUCHCP) r†a EGA-/VGA-bitmappstypsnitt f”r textl„gen.
-Keywords: loadfont gnuchcp bitmapp typsnitt ega vga sk„rm
-End
diff --git a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.TR b/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.TR deleted file mode 100644 index 5fee353..0000000 --- a/src/sliceitoff/assets/gnufonts/APPINFO/GNUFONTS.TR +++ /dev/null @@ -1,6 +0,0 @@ -Begin3
-Language: TR, 857
-Title: GNU chcp fonts
-Description: Metin kipleri i‡in LOADFONT (GNUCHCP) ham EGA/VGA bitmap yaz tipleri.
-Keywords: loadfont gnuchcp bitmap yaz tipi ega vga ekran
-End
diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X10.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X10.FNT Binary files differdeleted file mode 100644 index 27216e9..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X10.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X11SNSF.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X11SNSF.FNT Binary files differdeleted file mode 100644 index f584fb5..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X11SNSF.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X14.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X14.FNT Binary files differdeleted file mode 100644 index f10237d..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/8X14.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ANTIQUE.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ANTIQUE.FNT Binary files differdeleted file mode 100644 index 16d304e..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ANTIQUE.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ARCHON.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ARCHON.FNT Binary files differdeleted file mode 100644 index 4fc92d7..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ARCHON.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BACKWARD.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BACKWARD.FNT Binary files differdeleted file mode 100644 index d078c0d..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BACKWARD.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BIGSERIF.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BIGSERIF.FNT Binary files differdeleted file mode 100644 index 0e0704f..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BIGSERIF.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BLCKSNSF.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BLCKSNSF.FNT Binary files differdeleted file mode 100644 index 1b4f5b0..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BLCKSNSF.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BLOCK.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BLOCK.FNT Binary files differdeleted file mode 100644 index 682a2ea..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BLOCK.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BOLD.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BOLD.FNT Binary files differdeleted file mode 100644 index b9f4728..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BOLD.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BREEZE.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BREEZE.FNT Binary files differdeleted file mode 100644 index 96ecb0d..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BREEZE.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BROADWAY.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BROADWAY.FNT Binary files differdeleted file mode 100644 index 565e4ec..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/BROADWAY.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/COMPUTER.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/COMPUTER.FNT Binary files differdeleted file mode 100644 index 6862665..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/COMPUTER.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/COURIER.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/COURIER.FNT Binary files differdeleted file mode 100644 index fbba1a1..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/COURIER.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/CYRILLIC.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/CYRILLIC.FNT Binary files differdeleted file mode 100644 index 3c07185..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/CYRILLIC.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/DECO.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/DECO.FNT Binary files differdeleted file mode 100644 index d61c7b9..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/DECO.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/EMPTY.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/EMPTY.FNT Binary files differdeleted file mode 100644 index 85d0ffd..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/EMPTY.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/EUROTYPE.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/EUROTYPE.FNT Binary files differdeleted file mode 100644 index a92852f..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/EUROTYPE.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FAT.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FAT.FNT Binary files differdeleted file mode 100644 index c30c214..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FAT.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FINNISH.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FINNISH.FNT Binary files differdeleted file mode 100644 index ce9723e..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FINNISH.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FLAT.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FLAT.FNT Binary files differdeleted file mode 100644 index 3c011ae..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FLAT.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FRANCE.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FRANCE.FNT Binary files differdeleted file mode 100644 index 23aaf38..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FRANCE.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FRESNO.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FRESNO.FNT Binary files differdeleted file mode 100644 index ca3078b..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FRESNO.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FUTURA-1.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FUTURA-1.FNT Binary files differdeleted file mode 100644 index f835e52..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FUTURA-1.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FUTURA-2.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FUTURA-2.FNT Binary files differdeleted file mode 100644 index 1a8c9e2..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/FUTURA-2.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/GREEK.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/GREEK.FNT Binary files differdeleted file mode 100644 index 63361c6..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/GREEK.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HEARST.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HEARST.FNT Binary files differdeleted file mode 100644 index 59d20da..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HEARST.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HEBREW.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HEBREW.FNT Binary files differdeleted file mode 100644 index 0459008..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HEBREW.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HYLAS.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HYLAS.FNT Binary files differdeleted file mode 100644 index f5691cc..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/HYLAS.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/INVERTED.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/INVERTED.FNT Binary files differdeleted file mode 100644 index e422bb6..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/INVERTED.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ITALICS.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ITALICS.FNT Binary files differdeleted file mode 100644 index ad172ae..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ITALICS.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/KIDS-1.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/KIDS-1.FNT Binary files differdeleted file mode 100644 index c174343..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/KIDS-1.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/KIDS-2.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/KIDS-2.FNT Binary files differdeleted file mode 100644 index c6577dd..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/KIDS-2.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MEDIEVAL.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MEDIEVAL.FNT Binary files differdeleted file mode 100644 index ab02bd6..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MEDIEVAL.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MODERN-1.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MODERN-1.FNT Binary files differdeleted file mode 100644 index 79f69dc..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MODERN-1.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MODERN-2.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MODERN-2.FNT Binary files differdeleted file mode 100644 index 90754d5..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/MODERN-2.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/NORWAY.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/NORWAY.FNT Binary files differdeleted file mode 100644 index 9841a46..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/NORWAY.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/REV8X8.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/REV8X8.FNT Binary files differdeleted file mode 100644 index 7c4e21f..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/REV8X8.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/REVERSE.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/REVERSE.FNT Binary files differdeleted file mode 100644 index 7f6a8a8..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/REVERSE.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ROMAN-1.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ROMAN-1.FNT Binary files differdeleted file mode 100644 index 3afa137..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ROMAN-1.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ROMAN-2.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ROMAN-2.FNT Binary files differdeleted file mode 100644 index a96eee8..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/ROMAN-2.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SANSERIF.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SANSERIF.FNT Binary files differdeleted file mode 100644 index 57c6176..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SANSERIF.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SANSURF.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SANSURF.FNT Binary files differdeleted file mode 100644 index 3d55d61..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SANSURF.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SCOTT.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SCOTT.FNT Binary files differdeleted file mode 100644 index 10f235b..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SCOTT.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SCRIPT.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SCRIPT.FNT Binary files differdeleted file mode 100644 index f16090d..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SCRIPT.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SILVER.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SILVER.FNT Binary files differdeleted file mode 100644 index 245a008..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SILVER.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/STANDARD.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/STANDARD.FNT Binary files differdeleted file mode 100644 index 19ff712..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/STANDARD.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/STRETCH.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/STRETCH.FNT Binary files differdeleted file mode 100644 index 4b74341..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/STRETCH.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SUPER.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SUPER.FNT Binary files differdeleted file mode 100644 index cfcd60f..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SUPER.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SURREAL.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SURREAL.FNT Binary files differdeleted file mode 100644 index 821da52..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SURREAL.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-1.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-1.FNT Binary files differdeleted file mode 100644 index 7267692..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-1.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-2.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-2.FNT Binary files differdeleted file mode 100644 index 3f540ba..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-2.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-3.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-3.FNT Binary files differdeleted file mode 100644 index 1f76137..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/SWISS-3.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/TEKTON.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/TEKTON.FNT Binary files differdeleted file mode 100644 index 72b3148..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/TEKTON.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/TERMINUS.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/TERMINUS.FNT Binary files differdeleted file mode 100644 index ca93cc7..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/TERMINUS.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/THAI.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/THAI.FNT Binary files differdeleted file mode 100644 index b941e9c..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/THAI.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/THIN.FNT b/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/THIN.FNT Binary files differdeleted file mode 100644 index f51ece8..0000000 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/THIN.FNT +++ /dev/null diff --git a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/LCD.FNT b/src/sliceitoff/assets/lcd.fnt Binary files differindex 0d8842b..0d8842b 100644 --- a/src/sliceitoff/assets/gnufonts/UTIL/GNUFONTS/LCD.FNT +++ b/src/sliceitoff/assets/lcd.fnt diff --git a/src/sliceitoff/text/fonts.py b/src/sliceitoff/text/fonts.py index 8776530..24eb91e 100644 --- a/src/sliceitoff/text/fonts.py +++ b/src/sliceitoff/text/fonts.py @@ -1,5 +1,6 @@ """ text.fonts - .FNT file loading and storing """ import os +from pathlib import Path import pygame DEBUG = os.getenv("DEBUG") @@ -10,14 +11,9 @@ class Fonts: self.fonts = {} def init(self, base_path): - """ loads fonts from list """ - filename_fontlist = os.path.join(base_path, "fonts.lst") - with open(filename_fontlist, "r", encoding="utf-8") as fontlist_file: - for line in fontlist_file: - name, *path = line.strip().split() - filename = os.path.join(base_path, *path) - self.fonts[name] = Font(filename) - return True + """ loads fonts found in assets directory """ + for fnt_file in Path(base_path).glob('*.fnt'): + self.fonts[str(fnt_file.stem)] = Font(fnt_file) class Font: |