Transformation of text
Transformations of text are strategies to perform geometric transformations on text, particularly in systems that do not natively support transformation, such as HTML, seven-segment displays and plain text.
Implementation
Many systems, such as HTML, seven-segment displays and plain text, do not support transformation of text. In the case of HTML, this limitation in display may eventually be addressed through standard cascading style sheets, since proposed specifications for CSS3 include rotation for block elements. In the meantime, several ways of producing the visual effects of text transformations have come into use.The most common of these transformations are rotation and reflection.
Unicode supports a variety of characters that resemble transformed characters, primarily for various forms of phonetic transcription. Each of these character names indicates what kind of transformation the characters have undergone:
- Reversed characters, those that have been reflected in a vertical line ;
- Inverted characters, those that have been reflected on a horizontal line ;
- Turned characters, those that have been rotated 180 degrees and thus appear upside-down ;
- Sideways characters, those that have been rotated 90 degrees counterclockwise.
Upside-down text
A similar process is USD encoding, which uses characters entirely within the ASCII character set. Because it is almost entirely alphanumeric, it is far more compatible with other programs that do not support Unicode, and more readily typed by hand. However, the text created by using USD encoding is far less legible, and in fact more closely resembles Leet. Another problem is that because not all letters fit well, the USD algorithms cannot be a complete involution and contain a complete set of letters at the same time. For instance, the Albartus USD algorithm example seen in the [|"Examples" section below] has k, T, t, and R still in their upright positions. Another issue with USD encoding is the use of italic type. The letter "a" will, in most typefaces using italic fonts, render it as a "one-story" Latin alpha, thus causing problems with any word using that letter as a lowercase "e." Oblique type does not have this problem.
Below is a conversion table that can be used to transform lowercase, uppercase numeric and punctuation output. These characters require unicode version 8.0 minimum.
Lowercase Letters | z | ʎ | x | ʍ | ʌ | n | ʇ | s | ɹ | b | d | o | u | ɯ | l | ʞ | ɾ | ᴉ | ɥ | ɓ | ɟ | ǝ | p | ɔ | q | ɐ |
Lowercase Letters | 007A | 028E | 0078 | 028D | 028C | 006E | 0287 | 0073 | 0279 | 0062 | 0064 | 006F | 0075 | 026F | 006C | 029E | 027E | 1D09 | 0265 | 0253 | 025F | 01DD | 0070 | 0254 | 0071 | 0250 |
Capital Letters | Z | ⅄ | X | M | Λ | Ո | Ʇ | S | ᴚ | ტ | Ԁ | O | N | W | ⅂ | ꓘ | ᒋ | I | H | ⅁ | Ⅎ | Ǝ | ᗡ | Ɔ | ᗺ | Ɐ |
Capital Letters | 005A | 2144 | 0058 | 004D | 039B | 0548 | A7B1 | 0053 | 1D1A | 10E2 | 0500 | 004F | 004E | 0057 | 2142 | A4D8 | 017F | 0049 | 0048 | 2141 | 2132 | 018E | 15E1 | 0186 | 10412 | 2200 |
Numbers | 0 | 6 | 8 | ㄥ | 9 | Ϛ | ߈ | Ɛ | ᘔ | ⇂ | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Numbers | 0030 | 0036 | 0038 | 3125 | 0039 | 03DA | 07C8 | 218B | 218A | 21C2 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Punctuation | ⅋ | ‾ | ¿ | ¡ | „ | , | ˙ | ' | ؛ | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Punctuation | 214B | 203E | 00BF | 00A1 | 201E | 002C | 02D9 | 0027 | 061B | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Sideways text
Sideways text presents a unique problem. Unlike rotating text 180 degrees, the number of sideways characters falls far short of what would be needed for most purposes, and because text is rendered horizontally, it would be very difficult to render beyond one line of vertical text in a well-aligned manner without columns, especially in proportional fonts. The process of using alternate characters for sideways text is further complicated by the fact that most fonts space letters further apart vertically than horizontally, and that most fonts are taller than they are wider, making simulated sideways text look significantly more awkward.Until CSS3 introduced rotation for block elements, there was no direct way to rotate text at any direction other than the manual 180-degree method described above. Internet Explorer offered a proprietary CSS property that rotated text 90 degrees clockwise, which has been revised and incorporated into CSS:
<div style="writing-mode:vertical-rl;">
There remain some inconsistencies in how the writing-mode
property is implemented; rotation can also cause some issues with a given element's width, height and word wrapping.The most common way around these problems was to use images of text, which can then be rotated and transformed in an image editor at will, and to represent the text in those images with the alt attribute so that search engines and text-only browsers can read it properly. The use of ANSI art and box-drawing characters to manually draw sideways text has the advantage of being copiable and pastable, but generally creates large characters and is not generally readable by search engines. With the broader adoption of CSS3 by all of the major browsers, these methods are now mostly obsolete for Web media.
Reversed text
Though less widespread, text can also be reversed to be a mirror image of itself. Letters A, H, I, M, O/o, T, U, V/v, W/w, X/x, Y, and in some fonts i and l are symmetrical in the y-axis; the pairs of b/d and p/q transform to each other. The letters И, Я, and г from Cyrillic, among other sources, are among the numerous characters that can be used to further generate this effect. Reversed text can use capital letters mixed with lowercase, as opposed to the strict lowercase used by upside-down transformation.X-axis symmetry is visible in the letters B, C, D, E, H, I, K, O, X, and in some fonts a and l, as well as in the pairs of a/g, b/p, d/q, e/G, and f/t. Expanding to Cyrillic and Greek produces more symmetries, such as Λ/V and Γ/L.
The Fixedsys Excelsior typeface includes a complete set of reversed characters like this in its Private Use Area. However, online utilities to create mirrored text are not readily available, and most sites that claim to "mirror text" or "reverse text" in fact only change the order of the letters and do not actually flip the letters themselves.
Dilated text
Through the use of Unicode's small capitals, small-form punctuation, and subscript and superscript phonetic modifiers, text can be created that is smaller than the inline text. This is generally only necessary for applications that only support one-size plain text, since HTML and CSS support different text sizes.Examples
- Artistry, such as representing the two end zones or player designations on an American football gridiron; e.g. "sɹəʅəəʇS ɥɓɹnqsʇʇɪƋ" or "sʇuɐɪŋ ʞɹoʎ ʍəN ƕ".
- Emoticons are traditionally drawn sideways in North America.
- Better fit; for instance, rotating column headers on a table sideways would produce a more compact table, desirable particularly in tables that contain mostly abbreviations and numeric values.
- Evoking Russian stereotypes, by flipping certain letters one at a time.
- Evoking simplicity, such as childlike confusion over the direction of a letter.
- Symmetry, such as in the wordmarks for Nine Inch Nails, ABBA, or The Rush Limbaugh Show "EIB" slogan. The use of transformation in this fashion is known as an ambigram.
- Calculator spelling on seven-segment displays, where numbers represent letters upside down.
- Emulating the boustrophedon style of writing, where alternating lines are written in opposite directions.
- Pentominoes and tetrominoes resemble Latin letters, and the rotation of these letterlike objects forms the basis of several games, including Tetris.
- Though not strict transformation, the substitution of a plural "s" with its near-reflection "z" is a fairly common trope among some minor league sports teams in the United States, in order to make team names seem more modern.
- Basic encryption, to "hide" the answer to a joke or puzzle, for instance:
Russian
Baseball
- In baseball scorekeeping, a player who strikes out despite not swinging at the third strike is indicated in the official score book with a reversed or turned K. It has been added to Unicode in version 7.0 at U+A7B0.
- On the Soundgarden album Superunknown, all mention of the album or title track is shown as "Superиmoиʞи∩".
- The beverage 7Up during the early 2000s had a spin-off counterpart, known as dnL, with a significantly different color and flavor as well as caffeine.
- Facebook added "upside-down English" as a language choice in summer 2009.
Poet Darius Bacon has written two examples of palindromic poetry that reads the same upside-down as it does rightside up.