Skip to main content

SUBPIXEL_BUCKETS

Constant SUBPIXEL_BUCKETS 

Source
pub(crate) const SUBPIXEL_BUCKETS: u8 = 4;
Expand description

Number of horizontal subpixel quantization buckets (valid range: 1–253).

Higher values improve rendering quality at the cost of more atlas entries per glyph. Common values: 1 (disabled), 2, 4 (default), 8.