GetFontTrait
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Returns traits of specified font;
Syntax
(fValue:float) GetFontTrait iFont:int iTrait:int
Traits
0 - Base Height; 1 - Line Height;
Example
set fValue to GetFontTrait 1 0
Will return base height of Font#1
Notes
- Base Height is corresponding with "Height" UI trait in text UI element.
- Line Height is (presumably) real font height.
- This function will work on fonts injected with JiP plugin.