php3-list | 199901
Date: 01/31/99
- Next message: Rasmus Lerdorf: "Re: [PHP3] FreeType Support with FreeBSD returns "Document contains no data""
- Previous message: Jeff Wilcox: "[PHP3] OT: Using pipes to enter data (password??)"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] FreeType Support with FreeBSD returns "Document contains no data""
- Reply: Rasmus Lerdorf: "Re: [PHP3] FreeType Support with FreeBSD returns "Document contains no data""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
All,
After seeing Rasmus' article showing how to create buttons on the fly, I
decided to compile GD and FreeType support into PHP. I was finally able to
convince 'configure' that I had both 'libgd.a' and 'libttf.a' in
'/usr/local/lib'. My web server running PHP 3.0.6 now shows:
Version 1.2 with FreeType support
for GD support when I echo a 'phpinfo()'. However, when I try to run the
example from the article or the example from the manual, I get:
Document contains no data
messages. If I comment out the calls to 'ImageTTFText()', the message goes
away and the blue box (in the article example) is displayed. The call to
'ImageTTFBBox()' seems to work okay, though. If I change the text or the
font size parameter, the resulting blue box changes size indicating the the
call is setting the size array properly.
My system is:
System: FreeBSD lamb.gwis.com 3.0-RELEASE FreeBSD 3.0-RELEASE #0: Mon Jan 4
15:49:23 EST 1999
My web server is:
Apache Version: Stronghold/2.4.1 Apache/1.3.3 C2NetEU/2409
Apache Release: 1030399
Apache API Version: 19980917
I'm using FreeType 1.2 and GD 1.3 (even though 'phpinfo()' reports 1.2 -
perhaps this is the FreeType version and not the GD version).
I took my TrueType Fonts from a Windows NT system, so these should be okay,
shouldn't they? I feel like I'm so very close to making this work! Any
assistance will be greatly appreciated...
Rick Wiggins
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Rasmus Lerdorf: "Re: [PHP3] FreeType Support with FreeBSD returns "Document contains no data""
- Previous message: Jeff Wilcox: "[PHP3] OT: Using pipes to enter data (password??)"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] FreeType Support with FreeBSD returns "Document contains no data""
- Reply: Rasmus Lerdorf: "Re: [PHP3] FreeType Support with FreeBSD returns "Document contains no data""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

