Author: kn Date: Thu Dec 13 11:55:46 2007 New Revision: 6979 Log: - Fixed issue #12238: Graph doc error
Modified: trunk/Graph/ChangeLog trunk/Graph/docs/tutorial/tutorial_driver_gd.php trunk/Graph/src/driver/gd.php Modified: trunk/Graph/ChangeLog ============================================================================== --- trunk/Graph/ChangeLog [iso-8859-1] (original) +++ trunk/Graph/ChangeLog [iso-8859-1] Thu Dec 13 11:55:46 2007 @@ -1,6 +1,7 @@ 1.2 - [RELEASEDATE] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Fixed issue #12238: Graph doc error - Fixed issue #12246: Graph: dataBorder doesn't works in 2d renderer for piecharts Modified: trunk/Graph/docs/tutorial/tutorial_driver_gd.php ============================================================================== --- trunk/Graph/docs/tutorial/tutorial_driver_gd.php [iso-8859-1] (original) +++ trunk/Graph/docs/tutorial/tutorial_driver_gd.php [iso-8859-1] Thu Dec 13 11:55:46 2007 @@ -10,8 +10,12 @@ $graph->driver = new ezcGraphGdDriver(); $graph->options->font = 'tutorial_font.ttf'; -// Generate a Jpeg with lower quality. The default settings result in a better -// quality image +// Generate a Jpeg with lower quality. The default settings result in a image +// with better quality. +// +// The reduction of the supersampling to 1 will result in no anti aliasing of +// the image. JPEG is not the optimal format for grapics, PNG is far better for +// this kind of images. $graph->driver->options->supersampling = 1; $graph->driver->options->jpegQuality = 100; $graph->driver->options->imageFormat = IMG_JPEG; Modified: trunk/Graph/src/driver/gd.php ============================================================================== --- trunk/Graph/src/driver/gd.php [iso-8859-1] (original) +++ trunk/Graph/src/driver/gd.php [iso-8859-1] Thu Dec 13 11:55:46 2007 @@ -28,8 +28,12 @@ * $graph->driver = new ezcGraphGdDriver(); * $graph->options->font = 'tutorial_font.ttf'; * - * // Generate a Jpeg with lower quality. The default settings result in a - * // better quality image + * // Generate a Jpeg with lower quality. The default settings result in a image + * // with better quality. + * // + * // The reduction of the supersampling to 1 will result in no anti aliasing of + * // the image. JPEG is not the optimal format for grapics, PNG is far better for + * // this kind of images. * $graph->driver->options->supersampling = 1; * $graph->driver->options->jpegQuality = 100; * $graph->driver->options->imageFormat = IMG_JPEG; -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components