fontFamily

Font family to use as font fallback for client-side text renderings. Note: `GlyphsRasterizationMode` has precedence over font family. If `AllGlyphsRasterizedLocally` or `IdeographsRasterizedLocally` is set, local glyphs will be generated based on the provided font family. If no font family is provided, the map will fall back to use the system default font. The mechanisms of choosing the default font are varied in platforms: - For darwin(iOS/macOS) platform, the default font family is created from the systemFont. If provided fonts are not supported on darwin platform, the map will fall back to use the first available font from the global fallback list. - For Android platform: the default font Typeface.DEFAULT will be used. Besides, the font family will be discarded if it is provided along with `NoGlyphsRasterizedLocally` mode.

open fun fontFamily(fontFamily: String): GlyphsRasterizationOptions.Builder