Copy link to clipboard
Copied
This :
EX.add ("statictext", undefined,"",{name: "EXname"});
EX.EXname.graphics.font = "-Bold:14";
or this :
EXname.graphics.font = ScriptUI.newFont ("dialog", "Bold", 14);
seems not to work on CC2018 ! (works on CS6)
Have you a solution ?
Thank you
Copy link to clipboard
Copied
Hi alband78680803 ,
no solution. It is broken with InDesign CC version 9 and beyond.
See:
Re: Can’t seem to be able to change statictext font size
Regards,
Uwe
Copy link to clipboard
Copied
Here an example:
ScriptUI fonts used with InDesign CS6:
Same code executed with InDesign CC 2019:
Regards,
Uwe
PS: Sample code from here where I did not use Gil Sans example because I had not installed the font:
Copy link to clipboard
Copied
That's what seemed to me... what a shame !
Thank you !
Copy link to clipboard
Copied
Add your voice here:
and vote for fixing the bug.
Thanks,
Uwe
Copy link to clipboard
Copied
And is there a way to use superscript ? and how ? Thank you