Skip to main content

euv_core/font/system/
enum.rs

1/// Native OS font rasterization backend active at runtime.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum FontRenderBackend {
4    /// Built-in deterministic bitmap/stroke rasterizer guaranteeing bit-identical output everywhere.
5    #[default]
6    DeterministicBitmap,
7    /// Apple CoreText + CoreGraphics native font engine (macOS, iOS, iPadOS).
8    CoreText,
9    /// Windows Win32 GDI `GetGlyphOutlineW` native font engine.
10    Win32Gdi,
11    /// FreeType runtime-loaded system font engine (Linux, Android).
12    FreeType,
13    /// Browser offscreen Canvas 2D system font rasterizer (Web).
14    WebCanvas,
15}