font_get_size

With this function you can get the size of any font resource, which is the point value shown by the font resource dialogue.

 

Syntax:

font_get_size(ind);

ArgumentTypeDescription
indFont AssetIndex of the font to get the size of.

 

Returns:

Real

 

Example:

sz = font_get_size(font0);

This will get the size of the font indexed by the "font0" variable and store it in the variable "sz".