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:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
Font.Deactivate
Deactivates a font inside app or whole computer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
Font | 2.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No | Free |
MBS( "Font.Deactivate"; path; local ) More
Parameters
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 |
Result
Returns "OK" or error number from OS.
Description
Deactivates a font inside app or whole computer.Examples
Deactivate a font:
MBS( "Font.Deactivate"; "/Users/test/Desktop/test.ttf"; 1 )
See also
Release notes
- Version 11.0
- Fixed bug in Font.Deactivate for macOS, where deactivate was not working since v10.3.
- Version 10.3
- Rewrote Font.Activate and Font.Deactivate for newer macOS versions.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 11.0pr7
- MBS FileMaker Plugin, version 10.3pr7
- MBS Filemaker Plugin, version 2.6pr5
Created 18th August 2014, last changed 26th June 2020
Font.CalculateTextWidth - FontManager.FontFile
Feedback: Report problem or ask question.
