struct FontRasterFlags
Swift
struct FontRasterFlags
Hinting selection plus flags, packed the way canvas::RasterFlags reads
it. Bits outside the ones defined here are refused by the renderer rather
than ignored, so this type is the only supported way to build the word.
Sources/LavaUI/Font.swift:78
Constructors
init(hinting: FontHinting = .normal, forceAutohint: Bool = false)
Not documented.
Sources/LavaUI/Font.swift:85
Properties
static let `default`: FontRasterFlags
Not documented.
Sources/LavaUI/Font.swift:90
var forceAutohint: Bool
Force FreeType's autohinter over the font's own bytecode.
Sources/LavaUI/Font.swift:83
var hinting: FontHinting
Not documented.
Sources/LavaUI/Font.swift:81
var raw: UInt32 { get }
Not documented.
Sources/LavaUI/Font.swift:92