PeachDrawing.Core
PeachDrawing.Core.TypefaceFont
TypefaceFont.SupportsFontVariantPosition(SubSuperMode) Method
Whether this font’s GSUB table defines an active lookup for the OpenType feature tag
feature needs (subs or sups - see
GetFeatureTags(SubSuperMode)). Answering false is what
makes a run take the synthesized sub/superscript path instead, which CSS Fonts 4 requires as
the fallback; like SupportsFontVariantCaps(CapsMode) this is asked during box-tree parsing,
before any Canvas exists.
public override bool SupportsFontVariantPosition(PeachDrawing.Text.Shaping.SubSuperMode feature);
Parameters
feature SubSuperMode