Reply to Re: [PHP] Adding Fonts to JpGraph

Your name:

Reply:


Posted by Richard Lynch on 04/06/05 04:53

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

[Back to original 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

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