Page 1 of 1

Non-English text in -title

Posted: 2008-01-09T02:27:13-07:00
by hch
Hi,

it seems I'm unable to place a title with accented characters on a montage-d image. Although perfectly valid in Latin-2 (console/DOS box codepage in my Windows), the text seems to be converted to Latin-1 :( .

"-title" unconsistently does not allow to use @ to link to a (unicode) file with the text, which would be (uncomfortable but realizable) solution.

Any idea? TIA,
H.

IM 6.3.7 run on Win/XP SP2 Pro/Czech/patched.

Re: Non-English text in -title

Posted: 2008-01-09T06:01:57-07:00
by Bonzo
I could not find any info on -title; have you tried -annotate ?

convert -size 300x40 xc:lightblue -fill black -font verdana.ttf -pointsize 30 -gravity NorthWest -annotate +0+0 "IiIiGgÜüIiSsÖöÇç" turkish.jpg

Re: Non-English text in -title

Posted: 2008-01-09T07:13:34-07:00
by hch
Thanks for your reply.

> I could not find any info on -title

Interesting tip... First I took a look at http://www.imagemagick.org/Usage/montage/ and it was there. It works, at least sort of, so I blindly used it. It is also mentioned in the option reference (for montage, too), but not in montage's private option list.

> have you tried -annotate ?

Yes, I did, but w/o much success with montage (convert works OK). I got no text at all. Maybe my insuffucience, I'll experiment with it later, if there's no better way.

IMHO the right solution is replacing -title argument processing with IM's standard text argument handler used for -annotate and other commands.

Are there any other ideas?

Re: Non-English text in -title

Posted: 2008-01-09T19:37:29-07:00
by anthony
Bonzo FYI... The -title option is only used in "montage".

Sorry, it is also using for window title in "display" :-)