how can I change the pt size and raise up ® trademark character in text generated from a script?
The text from my dropdown box will be simple 12pt arial, but in the center of the text there needs to be a ® symbol set to 6pt size with a 6pt baseline shift, so it will appear small and raised
You can insert a trademark symbol in the middle of the text in the drop-down list, but you cannot add rich text formatting to text in a drop-down list (the superscript and mixed font size). To add the trademark symbol you would use Unicode for that symbol (00AE). There is an article and example PDF at JavaScript Corner on using Unicode text in PDFs-
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/using_unicode_text/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/using_unicode_text/[/url]
FYI- Java and JavaScript are two completley separate languages and Java has nothing to do with Acrobat. Just letting you know as this is a source of confusion for many people.
Hope that helps,
Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
Dimitri Munkirs
WindJack Solutions
pdfscripting.com