|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-11-07 13:45 UTC] mkoppanen@php.net
[2010-11-07 15:03 UTC] maxxi165 at tut dot by
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 05:00:02 2025 UTC |
Description: ------------ after setlocale(LC_ALL, "ru_RU") ImagickDraw makes wrong stroked text. checked at php 5.3.3 and 5.2.14 with ImageMagick 6.6.5-5 and imagick 3.0.1RC2 Reproduce code: --------------- <?php setlocale(LC_ALL, "ru_RU"); $im = new Imagick(); $im->newImage(100, 100, 'white'); $im->setImageFormat('jpg'); $draw = new ImagickDraw(); $draw->setStrokeColor('black'); $draw->setStrokeWidth(1); $draw->annotation(10, 10, 'text label'); $im->drawImage($draw); header( "Content-Type: image/jpg" ); echo $im; ?> Expected result: ---------------- expected stroked text like this http://img835.imageshack.us/img835/5754/testim3.jpg Actual result: -------------- the result is http://img210.imageshack.us/img210/2858/testim4.jpg