index font.fonts instead of calling font.getfont()