adding quote and other special character using fred

A plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations.
Post Reply
ratneshsoni
Posts: 38
Joined: 2010-12-14T03:56:10-07:00
Authentication code: 8675308

adding quote and other special character using fred

Post by ratneshsoni » 2011-04-27T06:28:39-07:00

Please help me i am using fred script to create text but the main problem is that when anyone try to insert quote or any other special character it will not generate image of given text.

In fred i am using texteffect script.
Please Help Me ASP.

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

Re: adding quote and other special character using fred

Post by fmw42 » 2011-04-27T10:36:47-07:00

Post an example of the command you are using with your sample text that fails. It is not surprising that quotes do not work (unless possibly you escape them). But it was never intended to override the shell quoting. Internally, the text will be quoted and if you have quotes in the text, then the second quote it finds will cut off the text at that point, if I understand what might be happening.

Both of these work fine for me and both kinds of quotes around SOFT show up fine.

texteffect -t "SOME 'SOFT' SHADOW TEXT" -s softshadow -e normal -f Arial -p 48 -c skyblue -b white -o skyblue -l 1 -g black -m 10 texteffect1.png

texteffect -t "SOME \"SOFT\" SHADOW TEXT" -s softshadow -e normal -f Arial -p 48 -c skyblue -b white -o skyblue -l 1 -g black -m 10 texteffect2.png

Post Reply