Files
BerryV2/test.py

13 lines
352 B
Python
Raw Normal View History

2026-07-27 20:51:13 +10:00
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