Thursday – 2008-01-24 – 17:28

Better Freetype2 control in PHP’s GD extension

Years ago, I made a patch to PHP’s GD module, allowing me to use most of Freetype2’s rendering options.

When I first made this patch (somewhere in the PHP3 years), the extension always forced autohints, even when compiling freetype2 with bytecode support.  Later on, they changed this to a better default, but you still couldn’t render a font, for example, without anti-aliasing.

Today, I cleaned up my patch a bit and released it here.  Maybe someday I’ll clean it up for real and submit it for inclusion in PHP, but I’m not there yet :P

Anyway, have fun with fonts.. or not :)

Posted in SoftwarePermalink

Comments

Post a comment

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below: