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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Activates 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 | Flags |
---|---|---|---|
path | The native file path to the font file. | "/Users/test/Desktop/test.ttf" | |
local | Pass 1 to activate only inside app or 0 for globally. You may need to use 0 in order to let FileMaker see the font when you restart. This parameter is ignored on iOS as font activation is only local there. |
0 | Optional |
Returns "OK" or error number from OS.
Activate a font:
MBS( "Font.Activate"; "/Users/test/Desktop/test.ttf"; 1 )
This function checks for a license.
Created 18th August 2014, last changed 14th July 2022