build out ui
This commit is contained in:
13
test.py
Normal file
13
test.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import pyfiglet
|
||||
|
||||
text_to_render = "Test"
|
||||
fonts = pyfiglet.FigletFont.getFonts()
|
||||
|
||||
for font in fonts:
|
||||
try:
|
||||
print(f"\nFont: {font}")
|
||||
result = pyfiglet.figlet_format(text_to_render, font=font)
|
||||
print(result)
|
||||
except Exception:
|
||||
# Prevents the script from crashing if a specific font configuration fails
|
||||
continue
|
||||
Reference in New Issue
Block a user