GlyphsRasterizationOptions
extension GlyphsRasterizationOptions
-
Convenience initializer
Note
If
fontFamiliesis not provided, the SDK will first look for a font family (or array of) under the keyMBXIdeographicFontFamilyNamein the application’s Info.plist. If one is not found, then a system font is returned.Note
Calling
GlyphsRasterizationOptions()will currently not call this initializer.Declaration
Swift
public convenience init(rasterizationMode: GlyphsRasterizationMode = .ideographsRasterizedLocally, fontFamilies: [String] = [])Parameters
rasterizationModeRasterization mode. Defaults to
.ideographsRasterizedLocallyi.e. ideographic symbols are rasterized locally (not loaded from the server)fontFamiliesArray of fonts, used for glyph rendering.Defaults to an appropriate system font.
GlyphsRasterizationOptions Extension Reference