Re: [PHP] Adding Fonts to JpGraph
On Apr 6, 2005 2:53 AM, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, April 4, 2005 12:39 pm, Stephen Johnson said: I am using JPGraph for a project that I am working on right now and I have hit a small snag - My client wants to have the user be able to select from a list of about 20 30 standard fonts. JPGraph only has about six built into it and the support in the docs is not very helpful since it wants you to register it to get font support. I am willing to do that, BUT, their website says they are no longer accepting support clients. So anyone out there have any advice our a tutorial that I can look at for some assistance ? If it's true type fonts you're after there is a TTF_DIR setting in jpgraph.php that point s to a directory containing any fonts you may wish to use. If you're on Linux have you googled for msttcorefonts, I think they're on sourceforge? HTH -- Graham -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Adding Fonts to JpGraph
On Mon, April 4, 2005 12:39 pm, Stephen Johnson said: I am using JPGraph for a project that I am working on right now and I have hit a small snag - My client wants to have the user be able to select from a list of about 20 30 standard fonts. JPGraph only has about six built into it and the support in the docs is not very helpful since it wants you to register it to get font support. I am willing to do that, BUT, their website says they are no longer accepting support clients. So anyone out there have any advice our a tutorial that I can look at for some assistance ? WILD GUESS JPGraph just uses GD, right? So the fonts available to GD are the fonts available to JPGraph, no? See if you can find the six font files on your hard drive, and if that's all there are in that directory, it could boil down to something as simple as adding a bunch more font files in that directory. 'Course, the JPGraph guys may have hacked up something custom in the source to limit you to six fonts... You're on your own for that, but it's Open Source, right? Google for JPGraph and fonts and see who else has already solved this problem and how. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Adding Fonts to JpGraph
I am using JPGraph for a project that I am working on right now and I have hit a small snag - My client wants to have the user be able to select from a list of about 20 30 standard fonts. JPGraph only has about six built into it and the support in the docs is not very helpful since it wants you to register it to get font support. I am willing to do that, BUT, their website says they are no longer accepting support clients. So anyone out there have any advice our a tutorial that I can look at for some assistance ? Thanks ?php /* Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com [EMAIL PROTECTED] 562.924.4454 (office) 562.924.4075 (fax) continuing the struggle against bad code */ ?