diff --git a/app.py b/app.py
index 9b7bd0d..96c61d5 100644
--- a/app.py
+++ b/app.py
@@ -21,12 +21,9 @@ prefix = 'cobbled-pad-'
collection = {
'stroke': { 'ascii': ' | ' , 'fonts': [] },
- 'script': { 'ascii': ' _/' , 'fonts': [] },
'block': { 'ascii': '|_|' , 'fonts': [] },
- 'outline': { 'ascii': '/ /' , 'fonts': [] },
- 'effect': { 'ascii': ': :' , 'fonts': [] },
+ 'open': { 'ascii': '/ /' , 'fonts': [] },
'pattern': { 'ascii': '(((' , 'fonts': [] },
-
'fill': { 'ascii': '###' , 'fonts': [] },
'3d': { 'ascii': '_|/' , 'fonts': [] },
@@ -85,7 +82,7 @@ def text2figlet(text, figfont):
return answer
-def ascii2svg(ascii, weight='3', scale='1'):
+def ascii2svg(ascii, weight='2', scale='1'):
if ascii:
print('--- SVGBOB SUBPROCESS')
svgbob = subprocess.run([
@@ -98,6 +95,12 @@ def ascii2svg(ascii, weight='3', scale='1'):
else:
return "ERROR: etherpad request failed"
+def styleSVG(svg):
+ with open('static/css/svg.css', 'r') as svg_css:
+ css = svg_css.read()
+ svg = svg.replace('
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/static/db/contributed/fill/3x5.svg b/static/db/contributed/fill/3x5.svg
index 00347e1..206a684 100644
--- a/static/db/contributed/fill/3x5.svg
+++ b/static/db/contributed/fill/3x5.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/contributed/fill/lockergnome.svg b/static/db/contributed/fill/lockergnome.svg
index a42d1be..92e9389 100644
--- a/static/db/contributed/fill/lockergnome.svg
+++ b/static/db/contributed/fill/lockergnome.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/contributed/pattern/barbwire.svg b/static/db/contributed/pattern/barbwire.svg
index 679de8d..5500d58 100644
--- a/static/db/contributed/pattern/barbwire.svg
+++ b/static/db/contributed/pattern/barbwire.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/contributed/fill/fraktur.flf b/static/db/contributed/rest/fraktur.flf
similarity index 100%
rename from static/db/contributed/fill/fraktur.flf
rename to static/db/contributed/rest/fraktur.flf
diff --git a/static/db/contributed/fill/fraktur.svg b/static/db/contributed/rest/fraktur.svg
similarity index 68%
rename from static/db/contributed/fill/fraktur.svg
rename to static/db/contributed/rest/fraktur.svg
index 0d4aa82..ed7dc5f 100644
--- a/static/db/contributed/fill/fraktur.svg
+++ b/static/db/contributed/rest/fraktur.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/block/braced.svg b/static/db/jave/block/braced.svg
index 3aff9ef..387a0d8 100644
--- a/static/db/jave/block/braced.svg
+++ b/static/db/jave/block/braced.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/effect/fire_font-k.flf b/static/db/jave/block/fire_font-k.flf
similarity index 100%
rename from static/db/jave/effect/fire_font-k.flf
rename to static/db/jave/block/fire_font-k.flf
diff --git a/static/db/jave/effect/fire_font-k.svg b/static/db/jave/block/fire_font-k.svg
similarity index 56%
rename from static/db/jave/effect/fire_font-k.svg
rename to static/db/jave/block/fire_font-k.svg
index 26f058d..d4acc94 100644
--- a/static/db/jave/effect/fire_font-k.svg
+++ b/static/db/jave/block/fire_font-k.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/effect/ghost.flf b/static/db/jave/block/ghost.flf
similarity index 100%
rename from static/db/jave/effect/ghost.flf
rename to static/db/jave/block/ghost.flf
diff --git a/static/db/jave/block/ghost.svg b/static/db/jave/block/ghost.svg
new file mode 100644
index 0000000..387227a
--- /dev/null
+++ b/static/db/jave/block/ghost.svg
@@ -0,0 +1,271 @@
+
diff --git a/static/db/jave/block/ghoulish.svg b/static/db/jave/block/ghoulish.svg
index 6c3a8bd..74d502d 100644
--- a/static/db/jave/block/ghoulish.svg
+++ b/static/db/jave/block/ghoulish.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/block/lineblocks.svg b/static/db/jave/block/lineblocks.svg
index 448a05e..84a6168 100644
--- a/static/db/jave/block/lineblocks.svg
+++ b/static/db/jave/block/lineblocks.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/block/varsity.svg b/static/db/jave/block/varsity.svg
index b289b3e..790dc6d 100644
--- a/static/db/jave/block/varsity.svg
+++ b/static/db/jave/block/varsity.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/effect/dancingfont.svg b/static/db/jave/effect/dancingfont.svg
deleted file mode 100644
index 572f960..0000000
--- a/static/db/jave/effect/dancingfont.svg
+++ /dev/null
@@ -1,127 +0,0 @@
-
diff --git a/static/db/jave/effect/flowerpower.svg b/static/db/jave/effect/flowerpower.svg
deleted file mode 100644
index b4086af..0000000
--- a/static/db/jave/effect/flowerpower.svg
+++ /dev/null
@@ -1,156 +0,0 @@
-
diff --git a/static/db/jave/effect/funface.svg b/static/db/jave/effect/funface.svg
deleted file mode 100644
index 4256d04..0000000
--- a/static/db/jave/effect/funface.svg
+++ /dev/null
@@ -1,131 +0,0 @@
-
diff --git a/static/db/jave/effect/funfaces.svg b/static/db/jave/effect/funfaces.svg
deleted file mode 100644
index 4256d04..0000000
--- a/static/db/jave/effect/funfaces.svg
+++ /dev/null
@@ -1,131 +0,0 @@
-
diff --git a/static/db/jave/effect/ghost.svg b/static/db/jave/effect/ghost.svg
deleted file mode 100644
index 5195566..0000000
--- a/static/db/jave/effect/ghost.svg
+++ /dev/null
@@ -1,161 +0,0 @@
-
diff --git a/static/db/jave/effect/lildevil.svg b/static/db/jave/effect/lildevil.svg
deleted file mode 100644
index b863175..0000000
--- a/static/db/jave/effect/lildevil.svg
+++ /dev/null
@@ -1,154 +0,0 @@
-
diff --git a/static/db/jave/effect/train.svg b/static/db/jave/effect/train.svg
deleted file mode 100644
index 53b13c5..0000000
--- a/static/db/jave/effect/train.svg
+++ /dev/null
@@ -1,128 +0,0 @@
-
diff --git a/static/db/jave/effect/twisted.svg b/static/db/jave/effect/twisted.svg
deleted file mode 100644
index 7507e78..0000000
--- a/static/db/jave/effect/twisted.svg
+++ /dev/null
@@ -1,140 +0,0 @@
-
diff --git a/static/db/jave/effect/wetletter.svg b/static/db/jave/effect/wetletter.svg
deleted file mode 100644
index ca42140..0000000
--- a/static/db/jave/effect/wetletter.svg
+++ /dev/null
@@ -1,121 +0,0 @@
-
diff --git a/static/db/jave/fill/alligator3.svg b/static/db/jave/fill/alligator3.svg
index a6302d9..e852820 100644
--- a/static/db/jave/fill/alligator3.svg
+++ b/static/db/jave/fill/alligator3.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/outline/amcrazor.flf b/static/db/jave/open/amcrazor.flf
similarity index 100%
rename from static/db/jave/outline/amcrazor.flf
rename to static/db/jave/open/amcrazor.flf
diff --git a/static/db/jave/open/amcrazor.svg b/static/db/jave/open/amcrazor.svg
new file mode 100644
index 0000000..c51d799
--- /dev/null
+++ b/static/db/jave/open/amcrazor.svg
@@ -0,0 +1,183 @@
+
diff --git a/static/db/jave/outline/amcthin.flf b/static/db/jave/open/amcthin.flf
similarity index 100%
rename from static/db/jave/outline/amcthin.flf
rename to static/db/jave/open/amcthin.flf
diff --git a/static/db/jave/open/amcthin.svg b/static/db/jave/open/amcthin.svg
new file mode 100644
index 0000000..191907f
--- /dev/null
+++ b/static/db/jave/open/amcthin.svg
@@ -0,0 +1,172 @@
+
diff --git a/static/db/jave/outline/amcun1.flf b/static/db/jave/open/amcun1.flf
similarity index 100%
rename from static/db/jave/outline/amcun1.flf
rename to static/db/jave/open/amcun1.flf
diff --git a/static/db/jave/outline/amcun1.svg b/static/db/jave/open/amcun1.svg
similarity index 67%
rename from static/db/jave/outline/amcun1.svg
rename to static/db/jave/open/amcun1.svg
index 1189562..a3cb61d 100644
--- a/static/db/jave/outline/amcun1.svg
+++ b/static/db/jave/open/amcun1.svg
@@ -1,5 +1,22 @@
-
diff --git a/static/db/jave/effect/funfaces.flf b/static/db/jave/open/funfaces.flf
similarity index 100%
rename from static/db/jave/effect/funfaces.flf
rename to static/db/jave/open/funfaces.flf
diff --git a/static/db/jave/open/funfaces.svg b/static/db/jave/open/funfaces.svg
new file mode 100644
index 0000000..397cc1b
--- /dev/null
+++ b/static/db/jave/open/funfaces.svg
@@ -0,0 +1,209 @@
+
diff --git a/static/db/jave/outline/amcrazo2.svg b/static/db/jave/outline/amcrazo2.svg
deleted file mode 100644
index 0413d70..0000000
--- a/static/db/jave/outline/amcrazo2.svg
+++ /dev/null
@@ -1,121 +0,0 @@
-
diff --git a/static/db/jave/outline/amcrazor.svg b/static/db/jave/outline/amcrazor.svg
deleted file mode 100644
index 47aae71..0000000
--- a/static/db/jave/outline/amcrazor.svg
+++ /dev/null
@@ -1,117 +0,0 @@
-
diff --git a/static/db/jave/outline/amcthin.svg b/static/db/jave/outline/amcthin.svg
deleted file mode 100644
index 097e141..0000000
--- a/static/db/jave/outline/amcthin.svg
+++ /dev/null
@@ -1,109 +0,0 @@
-
diff --git a/static/db/jave/pattern/arrows.svg b/static/db/jave/pattern/arrows.svg
index d18e8c4..c90adc7 100644
--- a/static/db/jave/pattern/arrows.svg
+++ b/static/db/jave/pattern/arrows.svg
@@ -1,5 +1,22 @@
-
\ No newline at end of file
diff --git a/templates/base.html b/templates/base.html
index 3a651ed..366b933 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -14,6 +14,7 @@
+
@@ -31,6 +32,7 @@
FIGfont make
FIGfont catalogue
+ gallery
diff --git a/templates/catalogue.html b/templates/catalogue.html
index 1a0654e..4039f36 100644
--- a/templates/catalogue.html
+++ b/templates/catalogue.html
@@ -6,11 +6,11 @@