Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102954 - Path to truetype font wrong in jpgraph since corefonts (and other) move them to /usr/share/fonts
Summary: Path to truetype font wrong in jpgraph since corefonts (and other) move them ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 02:56 UTC by Denis Sacchet
Modified: 2005-09-11 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Sacchet 2005-08-18 02:56:59 UTC
The default path configuration in JPGraph for searching font are in :

/usr/X11R6/lib/X11/fonts/truetype/

Since corefonts was modified to put fonts in /usr/share/fonts/corefont, if you
don't configure by hand jpgraph, you are unable to use truetype font (before,
with the standard /usr/X11R6/lib/X11/fonts/truetype/, it used to work).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Provide a pre-configured "/usr/lib/php/jpgraph/jpg-config.inc" file with the
correct path set up in, i.e :

DEFINE("TTF_DIR","/usr/share/fonts/corefonts/");

at line 41
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-09-11 08:06:57 UTC
This was fixed in the new dev-php4/jpgraph and dev-php5/jpgraph ebuilds for
dev-lang/php.
They are currently only to be found on the PHP Overlay [1], for more
informations on how to upgrade to dev-lang/php, the new generation PHP ebuilds,
please read [2].
Best regards, CHTEKK.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/
[2] http://forums.gentoo.org/viewtopic-t-377385.html
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-11 08:08:26 UTC
Closing.