Table of Contents

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

bool

SupportedAntiAliasModes

The anti-alias modes this rasterizer supports.

IReadOnlyList<AntiAliasMode> SupportedAntiAliasModes { get; }

Property Value

IReadOnlyList<AntiAliasMode>

SupportsColorFonts

Whether the rasterizer can render color font glyphs (COLR/CPAL/sbix/CBDT).

bool SupportsColorFonts { get; }

Property Value

bool

SupportsOutlineStroke

Whether the rasterizer can stroke glyph outlines.

bool SupportsOutlineStroke { get; }

Property Value

bool

SupportsSdf

Whether the rasterizer can produce signed distance field output.

bool SupportsSdf { get; }

Property Value

bool

SupportsSyntheticBold

When true, the rasterizer can apply synthetic bold (emboldening) to glyph outlines.

bool SupportsSyntheticBold { get; }

Property Value

bool

SupportsSyntheticItalic

When true, the rasterizer can apply synthetic italic (oblique/shear) to glyph outlines.

bool SupportsSyntheticItalic { get; }

Property Value

bool

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

bool

SupportsVariableFonts

Whether the rasterizer can apply variable font axis coordinates.

bool SupportsVariableFonts { get; }

Property Value

bool