Thursday, january 24th, 2008

Better Freetype2 control in PHP's GD extension

Warning: this entry is old. It may contain outdated information and may not reflect my opinion anymore.

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 on its project page. 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 at 17:28
 
Anglais seulement
Tags: fonts · freetype2 · gd · php

Comments

Comment RSS

There are no comments for this entry.

Drop a comment

Comments are closed for this entry.