With this function you can get the size of any font resource, which is the point value shown by the font resource dialogue.
font_get_size(ind);
Argument | Type | Description |
---|---|---|
ind | Font Asset | Index of the font to get the size of. |
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".