|
Posted by ljb on 09/12/07 00:56
jstucklex@attglobal.net wrote:
> ljb wrote:
>> 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:
>> --enable-gd-native-ttf
>
> Did you look at the source? Maybe it's only applicable in Windows? I
> have no idea.
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.
Navigation:
[Reply to this message]
|