Page 1 of 1

encoding problem with Latin 2

Posted: 2008-01-11T13:49:20-07:00
by stasi
I use ImageMagick 6.3.7 under Linux.
I have problem with polish fonts they are not properly render and I don't know what I'm doing wrong.
my commant looks like:
convert -size 640x480 xc:transparent -font Bookman-DemiItalic -pointsize 12 -encoding "Latin 2" -gravity North -fill white -stroke blue -draw "text 0,0 'ąśćłó'" some.png
only "ó" is render correctly
my locales are:
LANG=pl_PL
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=pl_PL

Re: encoding problem with Latin 2

Posted: 2008-01-11T14:20:28-07:00
by magick
The encoding should be Latin-2 not 'Latin 2'. Also try ImageMagick 6.3.7-9 the latest release. We have a recent patch concerning character encoding.

Re: encoding problem with Latin 2

Posted: 2008-01-12T00:41:36-07:00
by stasi
Thx for advice I use ImageMagick6.3.7-9 and Latin-2 and still don't working properly.
Maybe I have bad somethint in my Linux.
Now I use Slackware 10.0 with font lat2a-16.psfu.gz