GlyphsRasterizationOptions
extension GlyphsRasterizationOptions
-
Convenience initializer
Note
If
fontFamilies
is not provided, the SDK will first look for a font family (or array of) under the keyMBXIdeographicFontFamilyName
in 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
rasterizationMode
Rasterization mode. Defaults to
.ideographsRasterizedLocally
i.e. ideographic symbols are rasterized locally (not loaded from the server)fontFamilies
Array of fonts, used for glyph rendering.Defaults to an appropriate system font.