Author: kn
Date: Tue Nov 27 13:00:23 2007
New Revision: 6829

Log:
- It was not possible to cause this exception

Removed:
    trunk/Graph/src/exceptions/invalid_font.php
Modified:
    trunk/Graph/src/driver/flash.php
    trunk/Graph/src/graph_autoload.php

Modified: trunk/Graph/src/driver/flash.php
==============================================================================
--- trunk/Graph/src/driver/flash.php [iso-8859-1] (original)
+++ trunk/Graph/src/driver/flash.php [iso-8859-1] Tue Nov 27 13:00:23 2007
@@ -315,11 +315,6 @@
      */
     public function drawTextBox( $string, ezcGraphCoordinate $position, 
$width, $height, $align, ezcGraphRotation $rotation = null )
     {
-        if ( $this->options->font->type !== ezcGraph::PALM_FONT )
-        {
-            throw new ezcGraphInvalidFontTypeException( 
$this->options->font->type, __CLASS__ );
-        }
-
         $padding = $this->options->font->padding + ( 
$this->options->font->border !== false ? $this->options->font->borderWidth : 0 
);
 
         $width = $this->modifyCoordinate( $width - $padding * 2 );

Modified: trunk/Graph/src/graph_autoload.php
==============================================================================
--- trunk/Graph/src/graph_autoload.php [iso-8859-1] (original)
+++ trunk/Graph/src/graph_autoload.php [iso-8859-1] Tue Nov 27 13:00:23 2007
@@ -21,7 +21,6 @@
     'ezcGraphInvalidAssignementException'           => 
'Graph/exceptions/invalid_assignement.php',
     'ezcGraphInvalidDataException'                  => 
'Graph/exceptions/invalid_data.php',
     'ezcGraphInvalidDisplayTypeException'           => 
'Graph/exceptions/invalid_display_type.php',
-    'ezcGraphInvalidFontTypeException'              => 
'Graph/exceptions/invalid_font.php',
     'ezcGraphInvalidImageFileException'             => 
'Graph/exceptions/invalid_image_file.php',
     'ezcGraphMatrixInvalidDimensionsException'      => 
'Graph/exceptions/invalid_dimensions.php',
     'ezcGraphMatrixOutOfBoundingsException'         => 
'Graph/exceptions/out_of_boundings.php',


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to