What does --enable-gd-native-ttf do?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Can anybody explain what the --enable-gd-native-ttf configuration option
for the GD extension is supposed to do? The manual says:
    To enable support for native TrueType string function
    add --enable-gd-native-ttf.

I thought it changes whether gd uses an internal TrueType implementation to
the one supplied by the FreeType library. But I've built gd both with and
without this option, and the module (gd.so) comes out byte-for-byte
identical. So I guess it does nothing at all?

I'm using PHP-5.2.4 with these relevant configure options:
  --with-gd=shared \
     --with-zlib-dir=/usr \
     --with-png-dir=/usr \
     --with-jpeg-dir=/usr \
     --with-freetype-dir=/usr \
With or without:

Re: What does --enable-gd-native-ttf do?

ljb wrote:
Quoted text here. Click to load it

Did you look at the source?  Maybe it's only applicable in Windows?  I  
have no idea.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: What does --enable-gd-native-ttf do?

jstucklex@attglobal.net wrote:
Quoted text here. Click to load it

Yes I did, but it is so full of Zend macros and conditionals, and
comment-free, that it is hard to decipher. But I'm starting to think that it
does nothing when PHP is built with freetype-2.

Site Timeline