moved matrix from addfont to drawchar