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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

FontManager.ListFonts

Queries list of all fonts or list of fonts of a family.

Component Version macOS Windows Linux Server iOS SDK
Font 5.1 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "FontManager.ListFonts" { ; FamilyName } )   More

Parameters

Parameter Description Example Flags
FamilyName The family name whose fonts to query. "Times" Optional

Result

Returns list or error.

Description

Queries list of all fonts or list of fonts of a family.
The list is not sorted, but you can sort it with List.Sort function.

Examples

List Arial fonts:

MBS( "FontManager.ListFonts"; "Arial")

See also

Created 15th April 2015, last changed 15th June 2021


FontManager.ListFontFamilies - GMImage.AdaptiveThreshold

Feedback: Report problem or ask question.