implement freeType support for lib-GD

also fixes #24 and #203