Type Alias zng_view_api::font::GlyphOptions
source · pub type GlyphOptions = FontOptions;
Expand description
Extra font options send with text glyphs.
Aliased Type§
struct GlyphOptions {
pub aa: FontAntiAliasing,
pub synthetic_bold: bool,
pub synthetic_oblique: bool,
}
Fields§
§aa: FontAntiAliasing
Font render mode.
Default value must be already resolved here, it falls back to Subpixel.
synthetic_bold: bool
If synthetic bold is enabled.
synthetic_oblique: bool
If synthetic skew is enabled.