Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


FontManager.ListFontFamilies - GMImage.AdaptiveThreshold

💬 Ask a question or report a problem