Forum Moderators: coopster
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql' '--with-zlib' '--with-ttf' '--with-freetype=/usr/local/include/freetype' '--with-gd' '--with-pic' '--with-png' '--with-xml' '--enable-debugger'
gd
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
GIF Read Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
--------------------
ISSUE:
My issue is with fonts. I have to comment out all the fonts references (I am using it with jpgraph) to get the script to work. None of the fonts work, even though my unix admin has compiled and installed, etc, checked permissions...we are stumped.
Any one has any idea, maybe something we did not do with Apache, or PHP? Any ideas?
Best wishes,
RS
----
I can easily use the bitmap fonts and they look great.
I have checked many times the TTF absolute path's accuracy, and even defined it in my php script with a DEFINE statement...
It is very odd.
Thank you for taking the time coop. Any suggestion is deeply appreciated!
tre
PS: Unrelated: I am a beginner in PHP, and running into issues of array assignment. Can you recommend a good book?
I don't have much more to offer except that perhaps you could try reinstalling the TTF libraries. Otherwise, as you stated, you'll have to troubleshoot back through the code from the point of error.
As far as gaining knowledge, a project like the one you are undertaking is going to pay large rewards, although not without some struggles. Just hang in there and take the issues one at a time. In the meantime, there are a few good threads here on PHP books and tutorials as well as recommendations. A quick search of this site should turn up plenty of suggestions.