Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Deactivates a font inside app or whole computer.

Component Version macOS Windows Linux Server iOS SDK
Font 2.6 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Font.Deactivate"; path; local )   More


Parameter Description Example
path The native file path to the font file. "C:\test.fon"
local Pass 1 to activate only inside app or 0 for globally.
This parameter is ignored on iOS as font activation is only local there.


Returns "OK" or error number from OS.


Deactivates a font inside app or whole computer.


Deactivate a font:

MBS( "Font.Deactivate"; "/Users/test/Desktop/test.ttf"; 1 )

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 26th June 2020

Font.CalculateTextWidth - FontManager.FontFile