You are here: Re: What does --enable-gd-native-ttf do? « PHP Programming Language « IT news, forums, messages
Re: What does --enable-gd-native-ttf do?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация