Table of Contents

Field Subpixel

Namespace
Alternet.Skia
Assembly
Alternet.UI.Common.dll

Gets or sets default value for Subpixel which is used when font is converted to SKFont.

public static bool Subpixel

Returns

bool
Gets or sets default value for which is used when font is converted to .

Remarks

It allows to control whether glyph positioning uses subpixel precision — meaning characters can be placed at fractional pixel coordinates rather than whole integers. When it is true, SkiaSharp allows glyphs to be positioned with greater accuracy, especially useful for: small font sizes, high-DPI displays, precise text layout. This improves horizontal alignment and spacing, making text appear smoother and more natural.