Variant form (Unicode)

A variant form is a different 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 by 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

As of Unicode 13.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 eleven blocks:[1]

Blocks with ideographic variation sequences

As of 12 December 2017, ideographic variation sequences are defined for base characters in eight blocks:[2][3]

gollark: >call 03018457869
gollark: Oops.
gollark: They did not.
gollark: Ubq said they would work on it.
gollark: The bot is not programmed with such capability.

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.