Fixed memory leak to fontRef. (issue#1)