View Full Version : Registered Mark
kristina3909
June 1st, 2009, 06:07 AM
I was wondering how I could get help with a rule to superscript a registered mark that is passed through the data.
Thanks!
kristina3909
June 1st, 2009, 06:24 AM
I just figured it out...Thanks!
Alex Marshall
June 1st, 2009, 07:49 AM
For the trademark (TM) symbol, one option is to use the entities defined
in the FusionPro Tags Reference Guide, specifically the ™ entity.
If you're doing this in your flat (delimited) input file, you may need
to check the "Treat field values as tagged text" box on the Flat File
step of the Data Source Wizard.
You can also return the entity directly from a rule, like so:
return "™";
Make sure to check "Treat returned strings as tagged text." You could
name the rule "Trademark" and insert it in the Text Editor wherever
needed.
Another option is to use either the Character Map utility on Windows or
the Character Palette on Mac to locate the trademark symbol and insert
it directly into the Text Editor. (Unlike in external files, any text
entered into the Variable Text Editor dialog in FusionPro will
automatically be converted to the proper encoding when moving your job
across platforms.)
The Service Mark (SM) symbol is a little trickier; that's a non-ASCII
Unicode character. As such, it's not supported by FusionPro, and is not
found in all fonts either. However, you may be able to find a Symbol
font which contains it in the ASCII range (under 255), and use a numeric
entity such as ÿ (or whatever the ASCII value is). The ASCII value
may be specific to the font and the platform encoding.
Your best bet for the Service Mark symbol is probably to fake it using
the letters "SM" in superscript. This should work in any font and
platform.
Dan Korn
June 1st, 2009, 09:27 AM
The Service Mark (SM) symbol is a little trickier; that's a non-ASCII
Unicode character. As such, it's not supported by FusionPro, and is not
found in all fonts either.
Just to clarify, as of FusionPro 5.8, Unicode is indeed supported, and you can use the entity ℠ to output the Service Mark character (in a font which includes that glyph).
chads
July 20th, 2009, 08:54 AM
To take this a step further we wanted to have a rule where we could pass (TM), (R), or (C) in the data after text and apply a superscript after the data was passed in.
var products = (Field("Products"));
products = products.replace(/(\(R\))/g,"<superscript>®</superscript>");
products = products.replace(/(\(TM\))/g,"<superscript>™</superscript>");
products = products.replace(/(\(C\))/g,"<superscript>©</superscript>");
return Rule("Rule_Products") + products;
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.