Trade mark symbol

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
somasundaram

Trade mark symbol

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trade mark symbol

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