pixie/tests/megatest_fonts.nim

13 lines
269 B
Nim
Raw Normal View History

2021-05-07 16:12:03 +00:00
import common, pixie
2021-04-27 03:45:32 +00:00
2021-05-07 16:12:03 +00:00
# Clone https://github.com/treeform/fidgetfonts
2021-04-27 03:45:32 +00:00
2021-05-07 16:12:03 +00:00
let fontPaths = findAllFonts("../fidgetfonts")
2021-04-27 03:45:32 +00:00
for fontPath in fontPaths:
echo fontPath
2021-05-07 16:12:03 +00:00
try:
var font = readFont(fontPath)
except PixieError:
echo "ERROR: ", getCurrentExceptionMsg()