#48107 [Opn->Bgs]: Imagick with locales that use comma for decimal separator

From: Date: Thu, 30 Apr 2009 08:28:07 +0000
Subject: #48107 [Opn->Bgs]: Imagick with locales that use comma for decimal separator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136542@lists.php.net to get a copy of this message
 ID:               48107
 Updated by:       jani@php.net
 Reported By:      andries at e-mark dot nl
-Status:           Open
+Status:           Bogus
 Bug Type:         *Graphics related
 Operating System: Debian 5.0
 PHP Version:      5.2.9
 New Comment:

This is not the right place to report bugs in PECL extensions. Report 
them at http://pecl.php.net/bugs/


Previous Comments:
------------------------------------------------------------------------

[2009-04-29 12:31:32] andries at e-mark dot nl

Description:
------------
Imagick does not play nice with locales that use comma as a decimal
separator.

Reproduce code:
---------------
setlocale(LC_ALL, "nl_NL");
$im = new Imagick();
$im->newImage(200, 300, "white", "png");
$draw = new ImagickDraw();
$draw->line(1.1, 2.1, 5.1, 3.6);
$im->drawImage($draw);

Expected result:
----------------
A line.

Actual result:
--------------
Error: Non-conforming drawing primitive definition `,'


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48107&edit=1



Thread (2 messages)

« previous php.bugs (#136542) next »