pixie/tests/fonts_megatest.nim
2021-05-11 22:40:25 -05:00

13 lines
269 B
Nim

import common, pixie
# Clone https://github.com/treeform/fidgetfonts
let fontPaths = findAllFonts("../fidgetfonts")
for fontPath in fontPaths:
echo fontPath
try:
var font = readFont(fontPath)
except PixieError:
echo "ERROR: ", getCurrentExceptionMsg()