// for the junit test not all chars are rendered
{ "build/scratchpad-test-resources/mona.ttf", "fallback", "Cabin" }
};
// setup fonts (especially needed, when run under *nix systems)
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Map<String,String> fontMap = new HashMap<String,String>();
Map<String,String> fallbackMap = new HashMap<String,String>();
for (String fontFile[] : fontFiles) {
File f = new File(fontFile[0]);
assumeTrue("necessary font file "+f.getName()+" not downloaded.", f.exists());
Font font = Font.createFont(Font.TRUETYPE_FONT, f);
ge.registerFont(font);
Map<String,String> map = ("mapped".equals(fontFile[1]) ? fontMap : fallbackMap);
map.put(fontFile[2], font.getFamily());
}