PeachDrawing.Core

PeachDrawing.Core.Font

Font.SupportsFontVariantCaps(CapsMode) Method

Whether this font’s GSUB table defines an active lookup for every OpenType feature tag feature needs (e.g. both smcp and c2sc for AllSmallCaps - see GetFeatureTags(CapsMode)). A host calls this when deciding whether to synthesize the feature, which can happen during document parsing - before any Canvas exists - so this lives on Font itself rather than the graphics abstraction, mirroring HasGlyph(Rune).

public abstract bool SupportsFontVariantCaps(PeachDrawing.Text.Shaping.CapsMode feature);

Parameters

feature CapsMode

Returns

System.Boolean