Author: kn
Date: Tue Aug 7 11:03:32 2007
New Revision: 5827
Log:
- Fixed bug #11233: Path for circular arcs in SVG driver may break because of
locale settings
Modified:
trunk/Graph/ChangeLog
trunk/Graph/src/driver/svg.php
trunk/Graph/tests/data/compare/ezcGraphSvgDriverTest_testSvgWithDifferentLocales.svg
Modified: trunk/Graph/ChangeLog
==============================================================================
--- trunk/Graph/ChangeLog [iso-8859-1] (original)
+++ trunk/Graph/ChangeLog [iso-8859-1] Tue Aug 7 11:03:32 2007
@@ -8,6 +8,8 @@
- Fixed bug #11157: Wrong display of single record with labeled axis
- Fixed bug #11180: Color Palette: $dataSetColor in ezcGraphPalette starts
with index 1 and not zero in pie charts
+- Fixed bug #11233: Path for circular arcs in SVG driver may break because of
+ locale settings
1.1 - Monday 02 July 2007
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Modified: trunk/Graph/src/driver/svg.php
==============================================================================
--- trunk/Graph/src/driver/svg.php [iso-8859-1] (original)
+++ trunk/Graph/src/driver/svg.php [iso-8859-1] Tue Aug 7 11:03:32 2007
@@ -949,7 +949,7 @@
if ( $filled === true )
{
$arc = $this->dom->createElement( 'path' );
- $arc->setAttribute( 'd', sprintf( 'M %.2F,%.2F A %.2F,%.2F 0 %d,0
%.2F,%.2F L %.2F,%.2F A %.2F,%2f 0 %d,1 %.2F,%.2F z',
+ $arc->setAttribute( 'd', sprintf( 'M %.2F,%.2F A %.2F,%.2F 0 %d,0
%.2F,%.2F L %.2F,%.2F A %.2F,%2F 0 %d,1 %.2F,%.2F z',
// Endpoint low
$Xend, $Yend + $size,
// Radius
Modified:
trunk/Graph/tests/data/compare/ezcGraphSvgDriverTest_testSvgWithDifferentLocales.svg
==============================================================================
Binary files - no diff available.
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components