special characters like accents ?

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
mimenko

special characters like accents ?

Post by mimenko »

Hello,

I'm French and I'd want to use accents like éèêà... in text.
But when I use "-draw" command with Arial font for example, I don't have accents. I've tried to escape with "\" but nothing happens.
Is there a way to add this specific string with ImageMagick (Windows version) ?

Many thanks for your answer,

Phil
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: special characters like accents ?

Post by magick »

Have you reviewed Text to Image Handling at http://www.imagemagick.org/Usage/text/?
mimenko

Re: special characters like accents ?

Post by mimenko »

Yes, I've tried for instance :
convert -fill blue -pointsize 10 label:" é è à ù " label.gif
but nothing happens OK.
I've tried also with text file (-label @info.txt ) but nothing good.

Could you help me please ?
Thanks a lot by advance.

Phil
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: special characters like accents ?

Post by magick »

Verify your version of ImageMagick includes the Freetype delegate library which is required for rendering accents. Type
  • identify -list configure
Is freetype associated with the DELEGATES tag?
mimenko

Re: special characters like accents ?

Post by mimenko »

I have Windows version. How can I add modules, or verify if they exist ? "Identify" seems not working with batch file...
I must use words with accents, but is it possible with Windows version ?
Maybe with Unicode, UTF-8 ? But how can I do ?

Thanks a lot to give me the way.

Phil
mimenko

Re: special characters like accents ?

Post by mimenko »

I've seen file "delegates.xml" under folder ImageMagick-6.3.6-Q16/config. Is it the right file and is it enough ?

Phil
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: special characters like accents ?

Post by fmw42 »

delegate library located here:
http://www.imagemagick.org/download/delegates/

download and install
Post Reply