Current location - Health Preservation Learning Network - Slimming men and women - Why is it invalid for fontcreator to change font size to execute scripts?
Why is it invalid for fontcreator to change font size to execute scripts?
By executing a script in FontCreator, you can change the font size in the following ways:

Select the Script option from the View menu.

Enter the following code in the script editor:

//Change the font size

var font = GetCurrentFont();

Font. em height = 1000; //Set the font size to 1000

Update (font);

Click the Run button to execute the script.

If your script doesn't take effect, it may be because your code has a syntax error. Please check your code to make sure there are no grammatical errors.

If your script is still invalid, please check whether you have selected a font. The script can only be executed if a font is selected.

If you still can't solve the problem, you can try restarting FontCreator or contact FontCreator's customer service team for help.