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
My Product Information:
LiveCycle Designer Standard 8 / Windows
Offline

Hi cfinley,
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-
http://www.acrobatusers.com/tech_corner … code_text/
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
www.windjack.com
Offline
Hi, Thanks for such a quick response
just to be clear here, the rich text I wish to include isn't the text that will appear in the combo (dropdown) list, the rich text would appear inside a standard text box which is populated depending on the dropdown choice
I know when i enable richtext in the field tab, I can change pt size and baseline shift for a single character in the caption, and when I copy this rich text from the caption box and go to previed pdf, it pastes in rich text inside the actual text box....
So, I know my box will accept Rich text - is it just that there is no JavaScript code for changing a pt/baseline size? or was my original question confusing in that you thought I meant rich text inlide the combo box list?
Thanks
Offline
looking at the question again I guess I forgot to mention the populating a 2nd text field part, sorry about that
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in