Hello everyone,
I want to display dynamic system time on each page of my presentation. Displaying system time can be manipulated by JavaScript but, a field can be shown only once. So I used clone field and it works very well for me.
But when I want to change the font (xxx presents the variable that gets the field):
------------------------------------------------
xxx.textFont = font.LucidaBright ;
------------------------------------------------
it can be compiled successfully, but when I open it with acrobat reader, there are many errors from javascript console. So I think that JS don't know the font, and I don't know how to embed the font into pdf file and make JS knows it.
Then I turned to use field stacks. I use MetaPost to draw some needles and use JS to set_Field the fieldstack to the correct frame. But when I want to display the second clock, it seems that I should write another JS code to control the other fieldstack.
So is there some command that clones the fieldstack just like \copyfield? Or how to assign the font of the field as I like?
Thank you.
--
Sincerely yours,
Chen
----------------------------------------------------------------
Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai |
P.R. China
tel: 086 21 5955 3405 |
zhichu.chen.googlepages.com |
www.sinap.ac.cn
----------------------------------------------------------------