fix font generating