add test for non-standard fonts
[db] map filenames to db indices instead of paths