Page 1 of 1

Trade mark symbol

Posted: 2009-04-28T05:44:56-07:00
by somasundaram
Hi,

We want the Trade mark symbol to be annotated on the image using using the Convert command . But we are not able to do so. Please let us know how to do this using the Convert command. Please note that the font that we are using does support Trade mark symbol.

eg:
/usr/local/bin/convert -size 700x30 xc:none -font /home/sites/sgv16designdev/appl/fonts/en/Style21.ttf -pointsize 18 -fill #eac811 -gravity east ( -clone 0 -annotate 0 "India™h©India" ) -delete 0 -append /home/sites/sgv16designdev/appl/swiz/design1024/47/color1/main/text.png

Re: Trade mark symbol

Posted: 2009-04-28T11:23:05-07:00
by fmw42
see http://www.imagemagick.org/Usage/text/#unicode

I created a TM symbol in Helvetica in MS Word, then copied and pasted to a convert command in a simple text editor that was utf-8 compatible and got this:

convert -background pink -font Helvetica -pointsize 48 -stroke black label:"™" trademark.png

Then I pasted that into my terminal and saw this:

convert -background white -font Helvetica -stroke black label:"\342\204\242" trademark.png

Here is the resulting image:
Image