encoding problem with Latin 2

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
stasi

encoding problem with Latin 2

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: encoding problem with Latin 2

Post 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.
stasi

Re: encoding problem with Latin 2

Post 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
Post Reply