FontFeature
FontFeature enumeration
Features provide information about how glyphs are used in a font to render a script. https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags
public enum FontFeature
Values
Name | Value | Description |
---|---|---|
GlyphCompositionDecomposition | 1667460464 | To minimize the number of glyph alternates, it is sometimes desirable to decompose the default glyph for a character into two or more glyphs. Additionally, it may be preferable to compose default glyphs for two or more characters into a single glyph for better glyph processing. This feature permits such composition/decomposition. https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#ccmp Equivalent OpenType tag: ‘ccmp’ |
StandardLigatures | 1818847073 | Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes. This feature covers the ligatures which the designer/manufacturer judges should be used in normal conditions. Equivalent OpenType tag: ’liga’ https://docs.microsoft.com/en-us/typography/opentype/spec/features_ko#liga |
RequiredLigatures | 1919707495 | Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes. This feature covers those ligatures, which the script determines as required to be used in normal conditions. This feature is important for some scripts to ensure correct glyph formation. https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#rlig Equivalent OpenType tag: ‘rlig’ |
ContextualLigatures | 1668049255 | Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes. Unlike other ligature features, ‘clig’ specifies the context in which the ligature is recommended. This capability is important in some script designs and for swash ligatures. https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#clig Equivalent OpenType tag: ‘clig’ |
DiscretionaryLigatures | 1684826471 | Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes. This feature covers those ligatures which may be used for special effect, at the user’s preference. https://docs.microsoft.com/en-us/typography/opentype/spec/features_ae#dlig Equivalent OpenType tag: ‘dlig’ |
HistoricalLigatures | 1751935335 | Some ligatures were in common use in the past, but appear anachronistic today. Some fonts include the historical forms as alternates, so they can be used for a “period” effect. This feature replaces the default (current) forms with the historical alternates. https://docs.microsoft.com/en-us/typography/opentype/spec/features_fj#hlig Equivalent OpenType tag: ‘hlig’ |
ProportionalFigures | 1886287213 | Replaces figure glyphs set on uniform (tabular) widths with corresponding glyphs set on glyph-specific (proportional) widths. https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#tag-pnum Equivalent OpenType tag: ‘pnum’ |
TabularFigures | 1953396077 | Replaces figure glyphs set on proportional widths with corresponding glyphs set on uniform (tabular) widths. Tabular widths will generally be the default, but this cannot be safely assumed. Of course this feature would not be present in monospaced designs. https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#tag-tnum Equivalent OpenType tag: ’tnum’ |
LiningFigures | 1819178349 | This feature changes selected non-lining figures to lining figures. https://docs.microsoft.com/en-us/typography/opentype/spec/features_ko#lnum Equivalent OpenType tag: ’lnum' |
OldstyleFigures | 1869509997 | This feature changes selected figures from the default or lining style to oldstyle form. https://docs.microsoft.com/en-us/typography/opentype/spec/features_ko#onum Equivalent OpenType tag: ‘onum’ |
VerticalAlternates | 1986359924 | Transforms default glyphs into glyphs that are appropriate for upright presentation in vertical writing mode. https://docs.microsoft.com/en-us/typography/opentype/spec/features_uz#tag-vert Equivalent OpenType tag: ‘vert’ |
VerticalAlternatesAndRotation | 1987212338 | Replaces some fixed-width (half-, third- or quarter-width) or proportional-width glyphs (mostly Latin or katakana) with forms suitable for vertical writing (that is, rotated 90 degrees clockwise). https://docs.microsoft.com/en-us/typography/opentype/spec/features_uz#tag-vrt2 Equivalent OpenType tag: ‘vrt2’ |
StylisticSet01 | 1936928817 | Stylistic Set 1 In addition to, or instead of, stylistic alternatives of individual glyphs (see ‘salt’ feature), some fonts may contain sets of stylistic variant glyphs corresponding to portions of the character set, e.g. multiple variants for lowercase letters in a Latin font. https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#tag-ss01---ss20 Equivalent OpenType tag: ‘ss01’ |
StylisticSet02 | 1936928818 | Stylistic Set 2 Equivalent OpenType tag: ‘ss02’ |
StylisticSet03 | 1936928819 | Stylistic Set 3 Equivalent OpenType tag: ‘ss03’ |
StylisticSet04 | 1936928820 | Stylistic Set 4 Equivalent OpenType tag: ‘ss04’ |
StylisticSet05 | 1936928821 | Stylistic Set 5 Equivalent OpenType tag: ‘ss05’ |
StylisticSet06 | 1936928822 | Stylistic Set 6 Equivalent OpenType tag: ‘ss06’ |
StylisticSet07 | 1936928823 | Stylistic Set 7 Equivalent OpenType tag: ‘ss07’ |
StylisticSet08 | 1936928824 | Stylistic Set 8 Equivalent OpenType tag: ‘ss08’ |
StylisticSet09 | 1936928825 | Stylistic Set 9 Equivalent OpenType tag: ‘ss09’ |
StylisticSet10 | 1936929072 | Stylistic Set 10 Equivalent OpenType tag: ‘ss10’ |
StylisticSet11 | 1936929073 | Stylistic Set 11 Equivalent OpenType tag: ‘ss11’ |
StylisticSet12 | 1936929074 | Stylistic Set 12 Equivalent OpenType tag: ‘ss12’ |
StylisticSet13 | 1936929075 | Stylistic Set 13 Equivalent OpenType tag: ‘ss13’ |
StylisticSet14 | 1936929076 | Stylistic Set 14 Equivalent OpenType tag: ‘ss14’ |
StylisticSet15 | 1936929077 | Stylistic Set 15 Equivalent OpenType tag: ‘ss15’ |
StylisticSet16 | 1936929078 | Stylistic Set 16 Equivalent OpenType tag: ‘ss16’ |
StylisticSet17 | 1936929079 | Stylistic Set 17 Equivalent OpenType tag: ‘ss17’ |
StylisticSet18 | 1936929080 | Stylistic Set 18 Equivalent OpenType tag: ‘ss18’ |
StylisticSet19 | 1936929081 | Stylistic Set 19 Equivalent OpenType tag: ‘ss19’ |
StylisticSet20 | 1936929328 | Stylistic Set 20 Equivalent OpenType tag: ‘ss20’ |
Kerning | 1801810542 | Adjusts amount of space between glyphs, generally to provide optically consistent spacing between glyphs. Although a well-designed typeface has consistent inter-glyph spacing overall, some glyph combinations require adjustment for improved legibility. Besides standard adjustment in the horizontal direction, this feature can supply size-dependent kerning data via device tables, “cross-stream” kerning in the Y text direction, and adjustment of glyph placement independent of the advance adjustment. Note that this feature may apply to runs of more than two glyphs, and would not be used in monospaced fonts. Also note that this feature does not apply to text set vertically. https://docs.microsoft.com/en-us/typography/opentype/spec/features_ko#kern Equivalent OpenType tag: ‘kern’ |
See Also
- namespace Aspose.Words.Shaping
- assembly Aspose.Words