diff --git a/src/tools/ascii-text-drawer/ascii-text-drawer.vue b/src/tools/ascii-text-drawer/ascii-text-drawer.vue index 83fec620..9a6520a4 100644 --- a/src/tools/ascii-text-drawer/ascii-text-drawer.vue +++ b/src/tools/ascii-text-drawer/ascii-text-drawer.vue @@ -8,6 +8,7 @@ const width = useStorage('ascii-text-drawer:width', 80); const output = ref(''); const errored = ref(false); const processing = ref(false); + figlet.defaults({ fontPath: '//unpkg.com/figlet@1.6.0/fonts/' }); watchEffect(async () => { @@ -46,6 +47,8 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line label="Your text:" placeholder="Your text to draw" raw-text + multiline + rows="4" /> @@ -63,7 +66,7 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line - + @@ -72,6 +75,7 @@ const fonts = ['1Row', '3-D', '3D Diagonal', '3D-ASCII', '3x5', '4Max', '5 Line
+ Loading font...