summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-06 12:22:35 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-06 12:22:35 +0000
commitc925b7cbd916a294e96d361585c396cd107a827e (patch)
tree6ceee293182e603f560fda96b6177f9ac0b20751 /src/driver
parenta1cf00931ec31b6c7c45ecd182b410c6e7cf4781 (diff)
downloadzetacomponents-graph-c925b7cbd916a294e96d361585c396cd107a827e.zip
zetacomponents-graph-c925b7cbd916a294e96d361585c396cd107a827e.tar.gz
- Added test for palettes
- Added basic implementatoin of palettes # Not used for automatic colorization yet
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/gd.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/gd.php b/src/driver/gd.php
index 95c48a4..4c6c607 100644
--- a/src/driver/gd.php
+++ b/src/driver/gd.php
@@ -233,6 +233,7 @@ class ezcGraphGdDriver extends ezcGraphDriver
public function drawTextBox( $string, ezcGraphCoordinate $position, $width, $height, $align )
{
// Test font
+ // @TODO: try to find font at standard locations if no path was provided
if ( !is_file( $this->options->font->font ) || !is_readable( $this->options->font->font ) )
{
throw new ezcGraphGdDriverInvalidFontException( $this->options->font->font );
OpenPOWER on IntegriCloud