Platforms to show: All Mac Windows Linux Cross-Platform
Back to FolderItem class.
FolderItem.FontActivateMBS(OnlyLocal as boolean) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Fonts | MBS Util Plugin | 4.3 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
The folderitem used here points to a font file.
If you want the Font Manager to make fonts not visible to all applications installed on the system, use the OnlyLocal property.
Requires Mac OS 9.0 or newer.
Returns -1 if this FontManager function was not found. 0 on success.
Some error codes for Mac:
0 | No error. |
-43 | File not found. |
-45 | File locked. |
-108 | Out of memory. |
-105 | Already registered. |
Fails in Xojo 2017 on Windows due to changes in Xojo's way to handle fonts. The plugin still activates them, but Xojo doesn't allow you to use fonts which haven't been there earlier. See feedback case 46596.
Blog Entries
- MBS Xojo Plugins, version 23.4pr3
- MBS Xojo / Real Studio Plugins, version 14.4pr6
- MBS Real Studio Plugins, version 12.1pr5
- MBS REALbasic Plugins, version 10.5pr2
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr7
Xojo Developer Magazine
The items on this page are in the following plugins: MBS Util Plugin.