Files
BerryV2/test.py
2026-07-27 20:51:13 +10:00

13 lines
352 B
Python

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