event.target.textFont


event.target.textfont = font.arial;

 

this code, how fix "arial black" font in text field , using in "custom calculation script".

 

can this.

you'll want put script in custom format script , custom fonts addressed name, not font object.

 

example:

this.getfield("myfield").textfont = "viva-regular";



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working