changed ttf.tables, list to dict