pixie/tests/megatest_fonts.nim
Ryan Oldenburg 85ae6ab3a9 rename
2021-05-29 15:51:35 -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()