int nvg::LoadFont(const string&in filename, bool fallbackIcons = false, bool fallbackArial = false)
Load a font for use in the NanoVG API.
string
filename
The path of the font to load. Must be relative to the root of your plugin. For legacy reasons, this can also be the user fonts folder, or Openplanet's own fonts folder.
bool
fallbackIcons
Deprecated value, doesn't do anything anymore.
bool
fallbackArial
Deprecated value, doesn't do anything anymore.
int