DWRITE_FONT_FEATURE_TAG enumeration

A value that indicates the typographic feature of text supplied by the font.

Syntax


enum DWRITE_FONT_FEATURE_TAG {  DWRITE_FONT_FEATURE_TAG_DEFAULT                           = 0x746c6664, 
  DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING                  = 0x74726576, 
  DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION  = 0x32747276, 
  DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS             = 0x63726661, 
  DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS     = 0x63703263, 
  DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS      = 0x63733263, 
  DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES             = 0x746c6163, 
  DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS              = 0x65736163, 
  DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION   = 0x706d6363, 
  DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES              = 0x67696c63, 
  DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING                   = 0x70737063, 
  DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH                  = 0x68777363, 
  DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING               = 0x73727563, 
  DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES           = 0x67696c64, 
  DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS                      = 0x74707865, 
  DWRITE_FONT_FEATURE_TAG_FRACTIONS                         = 0x63617266, 
  DWRITE_FONT_FEATURE_TAG_FULL_WIDTH                        = 0x64697766, 
  DWRITE_FONT_FEATURE_TAG_HALF_FORMS                        = 0x666c6168, 
  DWRITE_FONT_FEATURE_TAG_HALANT_FORMS                      = 0x6e6c6168, 
  DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH              = 0x746c6168, 
  DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS                  = 0x74736968, 
  DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES        = 0x616e6b68, 
  DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES              = 0x67696c68, 
  DWRITE_FONT_FEATURE_TAG_HALF_WIDTH                        = 0x64697768, 
  DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS                  = 0x6f6a6f68, 
  DWRITE_FONT_FEATURE_TAG_JIS04_FORMS                       = 0x3430706a, 
  DWRITE_FONT_FEATURE_TAG_JIS78_FORMS                       = 0x3837706a, 
  DWRITE_FONT_FEATURE_TAG_JIS83_FORMS                       = 0x3338706a, 
  DWRITE_FONT_FEATURE_TAG_JIS90_FORMS                       = 0x3039706a, 
  DWRITE_FONT_FEATURE_TAG_KERNING                           = 0x6e72656b, 
  DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES                = 0x6167696c, 
  DWRITE_FONT_FEATURE_TAG_LINING_FIGURES                    = 0x6d756e6c, 
  DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS                   = 0x6c636f6c, 
  DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING                  = 0x6b72616d, 
  DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK                = 0x6b72676d, 
  DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING          = 0x6b6d6b6d, 
  DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS        = 0x746c616e, 
  DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS                   = 0x6b636c6e, 
  DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES                 = 0x6d756e6f, 
  DWRITE_FONT_FEATURE_TAG_ORDINALS                          = 0x6e64726f, 
  DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH      = 0x746c6170, 
  DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS                   = 0x70616370, 
  DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES              = 0x6d756e70, 
  DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS               = 0x64697770, 
  DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS                    = 0x64697771, 
  DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES                = 0x67696c72, 
  DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS               = 0x79627572, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES              = 0x746c6173, 
  DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS              = 0x666e6973, 
  DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS                    = 0x70636d73, 
  DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS                  = 0x6c706d73, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1                   = 0x31307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2                   = 0x32307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3                   = 0x33307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4                   = 0x34307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5                   = 0x35307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6                   = 0x36307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7                   = 0x37307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8                   = 0x38307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9                   = 0x39307373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10                  = 0x30317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11                  = 0x31317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12                  = 0x32317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13                  = 0x33317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14                  = 0x34317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15                  = 0x35317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16                  = 0x36317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17                  = 0x37317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18                  = 0x38317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19                  = 0x39317373, 
  DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20                  = 0x30327373, 
  DWRITE_FONT_FEATURE_TAG_SUBSCRIPT                         = 0x73627573, 
  DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT                       = 0x73707573, 
  DWRITE_FONT_FEATURE_TAG_SWASH                             = 0x68737773, 
  DWRITE_FONT_FEATURE_TAG_TITLING                           = 0x6c746974, 
  DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS            = 0x6d616e74, 
  DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES                   = 0x6d756e74, 
  DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS                 = 0x64617274, 
  DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS                      = 0x64697774, 
  DWRITE_FONT_FEATURE_TAG_UNICASE                           = 0x63696e75, 
  DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO                      = 0x6f72657a 

};

Constants

DWRITE_FONT_FEATURE_TAG_DEFAULT

The default.

DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING

Indicates that the font is displayed vertically.

DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION

Replaces normal figures with figures adjusted for vertical display.

DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS

Replaces figures separated by a slash with an alternative form.

Equivalent OpenType tag: 'afrc'

DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS

Turns capital characters into petite capitals. It is generally used for words which would otherwise be set in all caps, such as acronyms, but which are desired in petite-cap form to avoid disrupting the flow of text. See the pcap feature description for notes on the relationship of caps, smallcaps and petite caps.

Equivalent OpenType tag: 'c2pc'

DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS

Turns capital characters into small capitals. It is generally used for words which would otherwise be set in all caps, such as acronyms, but which are desired in small-cap form to avoid disrupting the flow of text.

Equivalent OpenType tag: 'c2sc'

DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES

In specified situations, replaces default glyphs with alternate forms which provide better joining behavior. Used in script typefaces which are designed to have some or all of their glyphs join.

Equivalent OpenType tag: 'calt'

DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS

Shifts various punctuation marks up to a position that works better with all-capital sequences or sets of lining figures; also changes oldstyle figures to lining figures. By default, glyphs in a text face are designed to work with lowercase characters. Some characters should be shifted vertically to fit the higher visual center of all-capital or lining text. Also, lining figures are the same height (or close to it) as capitals, and fit much better with all-capital text.

Equivalent OpenType tag: 'case'

DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION

To minimize the number of glyph alternates, it is sometimes desired to decompose a character into two glyphs. Additionally, it may be preferable to compose two characters into a single glyph for better glyph processing. This feature permits such composition/decomposition. The feature should be processed as the first feature processed, and should be processed only when it is called.

Equivalent OpenType tag: 'ccmp'

DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES

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.

Equivalent OpenType tag: 'clig'

DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING

Globally adjusts inter-glyph spacing for all-capital text. Most typefaces contain capitals and lowercase characters, and the capitals are positioned to work with the lowercase. When capitals are used for words, they need more space between them for legibility and esthetics. This feature would not apply to monospaced designs. Of course the user may want to override this behavior in order to do more pronounced letterspacing for esthetic reasons.

Equivalent OpenType tag: 'cpsp'

DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH

Replaces default character glyphs with corresponding swash glyphs in a specified context. Note that there may be more than one swash alternate for a given character.

Equivalent OpenType tag: 'cswh'

DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING

In cursive scripts like Arabic, this feature cursively positions adjacent glyphs.

Equivalent OpenType tag: 'curs'

DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES

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.

Equivalent OpenType tag: 'dlig'

DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS

Replaces standard forms in Japanese fonts with corresponding forms preferred by typographers. For example, a user would invoke this feature to replace kanji character U+5516 with U+555E.

Equivalent OpenType tag: 'expt'

DWRITE_FONT_FEATURE_TAG_FRACTIONS

Replaces figures separated by a slash with 'common' (diagonal) fractions.

Equivalent OpenType tag: 'frac'

DWRITE_FONT_FEATURE_TAG_FULL_WIDTH

Replaces glyphs set on other widths with glyphs set on full (usually em) widths. In a CJKV font, this may include "lower ASCII" Latin characters and various symbols. In a European font, this feature replaces proportionally-spaced glyphs with monospaced glyphs, which are generally set on widths of 0.6 em. For example, a user may invoke this feature in a Japanese font to get full monospaced Latin glyphs instead of the corresponding proportionally-spaced versions.

Equivalent OpenType tag: 'fwid'

DWRITE_FONT_FEATURE_TAG_HALF_FORMS

Produces the half forms of consonants in Indic scripts. For example, in Hindi (Devanagari script), the conjunct KKa, obtained by doubling the Ka, is denoted with a half form of Ka followed by the full form.

Equivalent OpenType tag: 'half'

DWRITE_FONT_FEATURE_TAG_HALANT_FORMS

Produces the halant forms of consonants in Indic scripts. For example, in Sanskrit (Devanagari script), syllable final consonants are frequently required in their halant form.

Equivalent OpenType tag: 'haln'

DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH

Respaces glyphs designed to be set on full-em widths, fitting them onto half-em widths. This differs from hwid in that it does not substitute new glyphs.

Equivalent OpenType tag: 'halt'

DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS

Replaces the default (current) forms with the historical alternates. While some ligatures are also used for historical effect, this feature deals only with single characters. Some fonts include the historical forms as alternates, so they can be used for a 'period' effect.

Equivalent OpenType tag: 'hist'

DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES

Replaces standard kana with forms that have been specially designed for only horizontal writing. This is a typographic optimization for improved fit and more even color.

Equivalent OpenType tag: 'hkna'

DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES

Replaces the default (current) forms with the historical alternates. 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.

Equivalent OpenType tag: 'hlig'

DWRITE_FONT_FEATURE_TAG_HALF_WIDTH

Replaces glyphs on proportional widths, or fixed widths other than half an em, with glyphs on half-em (en) widths. Many CJKV fonts have glyphs which are set on multiple widths; this feature selects the half-em version. There are various contexts in which this is the preferred behavior, including compatibility with older desktop documents.

Equivalent OpenType tag: 'hwid'

DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS

Used to access the JIS X 0212-1990 glyphs for the cases when the JIS X 0213:2004 form is encoded. The JIS X 0212-1990 (aka, "Hojo Kanji") and JIS X 0213:2004 character sets overlap significantly. In some cases their prototypical glyphs differ. When building fonts that support both JIS X 0212-1990 and JIS X 0213:2004 (such as those supporting the Adobe-Japan 1-6 character collection), it is recommended that JIS X 0213:2004 forms be the preferred encoded form.

Equivalent OpenType tag: 'hojo'

DWRITE_FONT_FEATURE_TAG_JIS04_FORMS

The National Language Council (NLC) of Japan has defined new glyph shapes for a number of JIS characters, which were incorporated into JIS X 0213:2004 as new prototypical forms. The 'jp04' feature is A subset of the 'nlck' feature, and is used to access these prototypical glyphs in a manner that maintains the integrity of JIS X 0213:2004.

Equivalent OpenType tag: 'jp04'

DWRITE_FONT_FEATURE_TAG_JIS78_FORMS

Replaces default (JIS90) Japanese glyphs with the corresponding forms from the JIS C 6226-1978 (JIS78) specification.

Equivalent OpenType tag: 'jp78'

DWRITE_FONT_FEATURE_TAG_JIS83_FORMS

Replaces default (JIS90) Japanese glyphs with the corresponding forms from the JIS X 0208-1983 (JIS83) specification.

Equivalent OpenType tag: 'jp83'

DWRITE_FONT_FEATURE_TAG_JIS90_FORMS

Replaces Japanese glyphs from the JIS78 or JIS83 specifications with the corresponding forms from the JIS X 0208-1990 (JIS90) specification.

Equivalent OpenType tag: 'jp90'

DWRITE_FONT_FEATURE_TAG_KERNING

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.

Equivalent OpenType tag: 'kern'

DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES

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'

DWRITE_FONT_FEATURE_TAG_LINING_FIGURES

Changes selected figures from oldstyle to the default lining form. For example, a user may invoke this feature in order to get lining figures, which fit better with all-capital text. This feature overrides results of the Oldstyle Figures feature (onum).

Equivalent OpenType tag: 'lnum'

DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS

Enables localized forms of glyphs to be substituted for default forms. Many scripts used to write multiple languages over wide geographical areas have developed localized variant forms of specific letters, which are used by individual literary communities. For example, a number of letters in the Bulgarian and Serbian alphabets have forms distinct from their Russian counterparts and from each other. In some cases the localized form differs only subtly from the script 'norm', in others the forms are radically distinct.

Equivalent OpenType tag: 'locl'

DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING

Positions mark glyphs with respect to base glyphs. For example, in Arabic script positioning the Hamza above the Yeh.

Equivalent OpenType tag: 'mark'

DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK

Replaces standard typographic forms of Greek glyphs with corresponding forms commonly used in mathematical notation (which are a subset of the Greek alphabet).

Equivalent OpenType tag: 'mgrk'

DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING

Positions marks with respect to other marks. Required in various non-Latin scripts like Arabic. For example, in Arabic, the ligaturised mark Ha with Hamza above it can also be obtained by positioning these marks relative to one another.

Equivalent OpenType tag: 'mkmk'

DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS

Replaces default glyphs with various notational forms (such as glyphs placed in open or solid circles, squares, parentheses, diamonds or rounded boxes). In some cases an annotation form may already be present, but the user may want a different one.

Equivalent OpenType tag: 'nalt'

DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS

Used to access glyphs made from glyph shapes defined by the National Language Council (NLC) of Japan for a number of JIS characters in 2000.

Equivalent OpenType tag: 'nlck'

DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES

Changes selected figures from the default lining style to oldstyle form. For example, a user may invoke this feature to get oldstyle figures, which fit better into the flow of normal upper- and lowercase text. This feature overrides results of the Lining Figures feature (lnum).

Equivalent OpenType tag: 'onum'

DWRITE_FONT_FEATURE_TAG_ORDINALS

Replaces default alphabetic glyphs with the corresponding ordinal forms for use after figures. One exception to the follows-a-figure rule is the numero character (U+2116), which is actually a ligature substitution, but is best accessed through this feature.

Equivalent OpenType tag: 'ordn'

DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH

Respaces glyphs designed to be set on full-em widths, fitting them onto individual (more or less proportional) horizontal widths. This differs from pwid in that it does not substitute new glyphs (GPOS, not GSUB feature). The user may prefer the monospaced form, or may simply want to ensure that the glyph is well-fit and not rotated in vertical setting (Latin forms designed for proportional spacing would be rotated).

Equivalent OpenType tag: 'palt'

DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS

Turns lowercase characters into petite capitals. Forms related to petite capitals, such as specially designed figures, may be included. Some fonts contain an additional size of capital letters, shorter than the regular smallcaps and it is referred to as petite caps. Such forms are most likely to be found in designs with a small lowercase x-height, where they better harmonise with lowercase text than the taller smallcaps (for examples of petite caps, see the Emigre type families Mrs Eaves and Filosofia).

Equivalent OpenType tag: 'pcap'

DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES

Replaces figure glyphs set on uniform (tabular) widths with corresponding glyphs set on glyph-specific (proportional) 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.

Equivalent OpenType tag: 'pnum'

DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS

Replaces glyphs set on uniform widths (typically full or half-em) with proportionally spaced glyphs. The proportional variants are often used for the Latin characters in CJKV fonts, but may also be used for Kana in Japanese fonts.

Equivalent OpenType tag: 'pwid'

DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS

Replaces glyphs on other widths with glyphs set on widths of one quarter of an em (half an en). The characters involved are normally figures and some forms of punctuation.

Equivalent OpenType tag: 'qwid'

DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES

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.

Equivalent OpenType tag: 'rlig'

DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS

Identifies glyphs in the font which have been designed for "ruby", from the old typesetting term for four-point-sized type. Japanese typesetting often uses smaller kana glyphs, generally in superscripted form, to clarify the meaning of kanji which may be unfamiliar to the reader.

Equivalent OpenType tag: 'ruby'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES

Replaces the default forms with the stylistic alternates. Many fonts contain alternate glyph designs for a purely esthetic effect; these don't always fit into a clear category like swash or historical. As in the case of swash glyphs, there may be more than one alternate form.

Equivalent OpenType tag: 'salt'

DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS

Replaces lining or oldstyle figures with inferior figures (smaller glyphs which sit lower than the standard baseline, primarily for chemical or mathematical notation). May also replace lowercase characters with alphabetic inferiors.

Equivalent OpenType tag: 'sinf'

DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS

Turns lowercase characters into small capitals. This corresponds to the common SC font layout. It is generally used for display lines set in Large & small caps, such as titles. Forms related to small capitals, such as oldstyle figures, may be included.

Equivalent OpenType tag: 'smcp'

DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS

Replaces 'traditional' Chinese or Japanese forms with the corresponding 'simplified' forms.

Equivalent OpenType tag: 'smpl'

DWRITE_FONT_FEATURE_TAG_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, such as multiple variants for lowercase letters in a Latin font. Glyphs in stylistic sets may be designed to harmonise visually, interract in particular ways, or otherwise work together. Examples of fonts including stylistic sets are Zapfino Linotype and Adobe's Poetica. Individual features numbered sequentially with the tag name convention 'ss01' 'ss02' 'ss03' . 'ss20' provide a mechanism for glyphs in these sets to be associated via GSUB lookup indexes to default forms and to each other, and for users to select from available stylistic sets

Equivalent OpenType tag: 'ss01'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss02'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss03'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss04'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss05'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss06'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss07'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss08'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss09'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss10'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss11'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss12'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss13'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss14'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss15'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss16'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss17'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss18'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss19'

DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20

See the description for DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1.

Equivalent OpenType tag: 'ss20'

DWRITE_FONT_FEATURE_TAG_SUBSCRIPT

May replace a default glyph with a subscript glyph, or it may combine a glyph substitution with positioning adjustments for proper placement.

Equivalent OpenType tag: 'subs'

DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT

Replaces lining or oldstyle figures with superior figures (primarily for footnote indication), and replaces lowercase letters with superior letters (primarily for abbreviated French titles).

Equivalent OpenType tag: 'sups'

DWRITE_FONT_FEATURE_TAG_SWASH

Replaces default character glyphs with corresponding swash glyphs. Note that there may be more than one swash alternate for a given character.

Equivalent OpenType tag: 'swsh'

DWRITE_FONT_FEATURE_TAG_TITLING

Replaces the default glyphs with corresponding forms designed specifically for titling. These may be all-capital and/or larger on the body, and adjusted for viewing at larger sizes.

Equivalent OpenType tag: 'titl'

DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS

Replaces 'simplified' Japanese kanji forms with the corresponding 'traditional' forms. This is equivalent to the Traditional Forms feature, but explicitly limited to the traditional forms considered proper for use in personal names (as many as 205 glyphs in some fonts).

Equivalent OpenType tag: 'tnam'

DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES

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.

Equivalent OpenType tag: 'tnum'

DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS

Replaces 'simplified' Chinese hanzi or Japanese kanji forms with the corresponding 'traditional' forms.

Equivalent OpenType tag: 'trad'

DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS

Replaces glyphs on other widths with glyphs set on widths of one third of an em. The characters involved are normally figures and some forms of punctuation.

Equivalent OpenType tag: 'twid'

DWRITE_FONT_FEATURE_TAG_UNICASE

Maps upper- and lowercase letters to a mixed set of lowercase and small capital forms, resulting in a single case alphabet (for an example of unicase, see the Emigre type family Filosofia). The letters substituted may vary from font to font, as appropriate to the design. If aligning to the x-height, smallcap glyphs may be substituted, or specially designed unicase forms might be used. Substitutions might also include specially designed figures.

Equivalent OpenType tag: 'unic'

DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO

Allows the user to change from the default 0 to a slashed form. Some fonts contain both a default form of zero, and an alternative form which uses a diagonal slash through the counter. Especially in condensed designs, it can be difficult to distinguish between 0 and O (zero and capital O) in any situation where capitals and lining figures may be arbitrarily mixed.

Equivalent OpenType tag: 'zero'

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Dwrite.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.