Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Deactivates a font inside app or whole computer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Font | 2.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
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. |
0 |
Returns "OK" or error number from OS.
Deactivate a font:
MBS( "Font.Deactivate"; "/Users/test/Desktop/test.ttf"; 1 )
Created 18th August 2014, last changed 26th June 2020
Font.CalculateTextWidth - FontManager.FontFile
Feedback: Report problem or ask question.