ImageMagick-6.6.0-7-Q16-windows-dll hangs unicode 2K3SP1

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
alexeiramone

ImageMagick-6.6.0-7-Q16-windows-dll hangs unicode 2K3SP1

Post by alexeiramone »

I'm trying to write unicode text in a DOS window. Please refer to topic viewtopic.php?f=8&t=15813

The problem is that everytime i try to write something with a different character like á é ç or whatever, it HANGS.

I uninstalled previous versions, tried to install this over a previous one but It couldn't overwrite 2 DLLs (imagemagickobject.dll and vc90something.dll) so I uninstalled everything, rebooted, deleted the folder and installed this version from scratch and nothing changed, it continues to hang

Previous versions used to WORK but they didn't print the char like ç. The string cropped in the char. eg: "Ação" printed only "A". Bit it didn't hang. This version hangs.

The only difference i noticed is that i'm using the DLL version instead of Static one. I'll install a static in another folder to see what's going on.
alexeiramone

Re: ImageMagick-6.6.0-7-Q16-windows-dll hangs unicode 2K3SP1

Post by alexeiramone »

The Same happened with STATIC version.

WORKS
convert -background red -fill black -font arial -kerning -1 -size 190x146 -pointsize 18 -interline-spacing -2 caption:"Creu" x.png

HANGS
convert -background red -fill black -font arial -kerning -1 -size 190x146 -pointsize 18 -interline-spacing -2 caption:"Créu" x.png

Like I said in the other forum, it used to crop the text, but never hanged. 6.5.8 I think.
alexeiramone

Re: ImageMagick-6.6.0-7-Q16-windows-dll hangs unicode 2K3SP1

Post by alexeiramone »

Hmmmmm I installed the same package in Windows VISTA Ultimate SP2 up-to-date. Same behavior. It simply hangs....

Both Windows are Brazilian Portuguese versions. If you guys need more info, Anthony has my email or whatever you guys prefer. Best regards.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick-6.6.0-7-Q16-windows-dll hangs unicode 2K3SP1

Post by magick »

We can reproduce the problem and will have a patch available in the next point release of ImageMagick. In the mean-time you can use UTF-8 which should work.
alexeiramone

Works for label...

Post by alexeiramone »

This might help

C:\Users\Alexei\Desktop\PNG\x>convert label:ação x.png <--- WORKED!!!

C:\Users\Alexei\Desktop\PNG\x>convert caption:ação x.png
convert: must specify image size `ação' @ error/caption.c/ReadCAPTIONImage/130.
convert: missing an image filename `x.png' @ error/convert.c/ConvertImageCommand/2941.

C:\Users\Alexei\Desktop\PNG\x>convert -size 300x100 caption:ação x.png
^C <--- I HAD TO CTRL+BREAK IT. HANGED!
C:\Users\Alexei\Desktop\PNG\x>

So it works for LABEL but not for CAPTION
alexeiramone

Re: ImageMagick-6.6.0-7-Q16-windows-dll hangs unicode 2K3SP1

Post by alexeiramone »

The UTF Conversion explained in http://www.imagemagick.org/Usage/window ... r_encoding works in DOS mode, but in my real environment, I can se just a single Call, a Coldfusion <cfexecute> with is pretty much like a single CMD so I can't change codepages.... I guess I'll have to wait for the new patch :-)

BTW All examples in the url I mentioned are mistyped. If you guys could fix them it will be awesome. All 3 examples use label:something.txt or label@something.txt, the correct ones (as you of course know) are label:@something.txt

thanks once again, best regards
Post Reply