[Chameleon-dev] [Bug 339] [Chameleon] Button font path absolute in
Shared Resource
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Wed Oct 27 08:45:53 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=339
pspencer at dmsolutions.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From pspencer at dmsolutions.ca 2004-10-27 08:45 -------
invalid, this works. A couple of comments:
1. the tabs don't use the font, the labels are actually part of the graphic on
the tabs.
2. the font path is really:
D:\ms4w\apps\chameleon\htdocs\skins\default\fonts\VeraSeBd.ttf
instead of
D:\ms4w\apps\chameleon\htdocs\skins\default\VeraSeBd.ttf
3. the error reporting sucks because the return value is false, and this is used
as the font file, so when the error is reported there is no path listed (and
there should be). I've fixed this ... you can now change to an invalid font and
it will give you a better warning ...
As a side note, I cleaned up chameleon's findFile function:
* added test for absolute paths before beginning searches
* added clearstatcache() before file_exists() as per php documentation
these changes are not required to get this to work.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list