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
Post a Comment