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.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
Statistic
FMM
Blog
Component: Font
Font functions.
Item | Details |
---|---|
Font.Activate Activates a font inside app or whole computer. | Mac/Win 2.6 |
Font.CalculateTextFits Queries how many characters would fit in a space. | Mac/Win/iOS 8.4 |
Font.CalculateTextHeight Calculates height of text. | Mac/Win/iOS 8.4 |
Font.CalculateTextWidth Calculates width of text. | Mac/Win/iOS 6.5 |
Font.Deactivate Deactivates a font inside app or whole computer. | Mac/Win 2.6 |
FontManager.FontFile Queries the native file path to a font file. | Mac only 6.2 |
FontManager.ImageWithSystemSymbolName Queries SF Symbol font for characters and returns them as image. | Mac/iOS 10.5 |
FontManager.ListFontFamilies Queries a list of font families. | Mac/Win/iOS 5.1 |
FontManager.ListFonts Queries list of all fonts or list of fonts of a family. | Mac/Win 5.1 |
9 functions.
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.
- Version 8.5
- Fixed bug in Font.CalculateTextWidth with loading font.
- Version 8.4
- Added Font.CalculateTextFits and Font.CalculateTextHeight function.
Blog Entries
Example Databases
Feedback: Report problem or ask question.

Links
MBS Xojo tutorial videos