Variant form (Unicode)

(Redirected from Variation selectors)

A variant form is an alternate glyph for a character, encoded in Unicode through the mechanism of variation sequences: sequences in Unicode that consist of a base character followed by a variation selector character.

A variant form usually has a very similar appearance and meaning as its base form. The mechanism is intended for variant forms where, generally, if the variant form is unavailable, displaying the base character does not change the meaning of the text, and may not even be noticeable to many readers.

Unicode defines two types of variation sequences:

  • Standardized variation sequences defined in StandardizedVariants.txt[1]
  • Ideographic variation sequences defined in the Ideographic Variation Database (IVD)[2][3]

Variation selector characters reside in several Unicode blocks:

Variation selectors are not required for Arabic and Latin cursive characters, where substitution of glyphs can occur based on context: glyphs may be connected together depending on whether the character is the initial character in a word, the final character, a medial character or an isolated character. These types of glyph substitution are easily handled by the context of the character with no other authoring input involved. Authors may also use special-purpose characters such as joiners and non-joiners to force an alternate form of glyph where it would not otherwise appear. Ligatures are similar instances where glyphs may be substituted simply by turning ligatures on or off as a rich text attribute.

For other glyph substitution, the author's intent may need to be encoded with the text and cannot be determined contextually. This is the case with character/glyphs referred to as gaiji, where different glyphs are used for the same character either historically or for ideographs for family names. This is one of the gray areas in distinguishing between a glyph and a character: If a family name differs slightly from the ideograph character it derives from, then is that a simple glyph variant or a character variant?

Character substitutions may also occur outside of Unicode, for example with OpenType Layout tags.[4]

Blocks with standardized variation sequences

edit

As of Unicode version 16.0, standardized variation sequences specifically for emoji/text presentation are defined for base characters in twenty blocks:[1]

Other standardized variation sequences are formed with base characters in the following fourteen blocks:[1]

Blocks with ideographic variation sequences

edit

As of 13 September 2022, ideographic variation sequences are defined for base characters in nine blocks:[2][3]

See also

edit

References

edit
  1. ^ a b c "UCD: Standardized Variation Sequences". Unicode Consortium.
  2. ^ a b "Ideographic Variation Database". Unicode Consortium.
  3. ^ a b "UTS #37, Unicode Ideographic Variation Database". Unicode Consortium.
  4. ^ "Language system tags". Microsoft. 30 September 2022.