use freetype to write png