Interface IRasterizerCapabilities
- Namespace
- KernSmith.Rasterizer
- Assembly
- KernSmith.dll
Describes what a rasterizer backend supports.
public interface IRasterizerCapabilities
Properties
HandlesOwnSizing
When true, the rasterizer handles font sizing internally and BmFont should pass the raw fontSize without cell-height-to-ppem conversion.
bool HandlesOwnSizing { get; }
Property Value
SupportedAntiAliasModes
The anti-alias modes this rasterizer supports.
IReadOnlyList<AntiAliasMode> SupportedAntiAliasModes { get; }
Property Value
SupportsColorFonts
Whether the rasterizer can render color font glyphs (COLR/CPAL/sbix/CBDT).
bool SupportsColorFonts { get; }
Property Value
SupportsOutlineStroke
Whether the rasterizer can stroke glyph outlines.
bool SupportsOutlineStroke { get; }
Property Value
SupportsSdf
Whether the rasterizer can produce signed distance field output.
bool SupportsSdf { get; }
Property Value
SupportsSyntheticBold
When true, the rasterizer can apply synthetic bold (emboldening) to glyph outlines.
bool SupportsSyntheticBold { get; }
Property Value
SupportsSyntheticItalic
When true, the rasterizer can apply synthetic italic (oblique/shear) to glyph outlines.
bool SupportsSyntheticItalic { get; }
Property Value
SupportsSystemFonts
When true, the rasterizer can load system-installed fonts by family name via LoadSystemFont(string) instead of requiring font bytes.
bool SupportsSystemFonts { get; }
Property Value
SupportsVariableFonts
Whether the rasterizer can apply variable font axis coordinates.
bool SupportsVariableFonts { get; }