CanvasFontFaceGetTypographicFeatureGlyphSupport Method (CanvasAnalyzedScript, CanvasTypographyFeatureName, CanvasGlyph) |
Namespace: Microsoft.Graphics.Canvas.Text
public bool[] GetTypographicFeatureGlyphSupport( CanvasAnalyzedScript script, CanvasTypographyFeatureName typographicFeatureName, CanvasGlyph[] glyphsElements )
Calling GetTypographicFeatureGlyphSupport is a good way to determine whether a set of glyphs are eligible for a typographic feature, when that typographic feature has not yet been enabled.
If the feature has already been enabled, it's worth noting that typographic features cause glyph substitution. For example, if an app:
It is an error to pass CanvasTypographyFeatureName.None to this method.
This method uses the default locale.