In typography, a glyph // is an elemental symbol within an agreed set of symbols, intended to represent a readable character for the purposes of writing. As such, glyphs are considered to be unique marks that collectively add up to the spelling of a word, or otherwise contribute to a specific meaning of what is written, with that meaning dependent on cultural and social usage.
For example, in most languages written in any variety of the Latin alphabet the dot on a lower-case i is not a glyph because it does not convey any distinction, and an i in which the dot has been accidentally omitted is still likely to be recognized correctly. In Turkish, however, it is a glyph because that language has two distinct versions of the letter i, with and without a dot.
In Japanese syllabaries, a number of the characters are made up of more than one separate mark, but in general these separate marks are not glyphs because they have no meaning by themselves. However, in some cases, additional marks fulfill the role of diacritics, to differentiate distinct characters. Such additional marks constitute glyphs.
Some characters, such as "æ" in Icelandic and the "ß" in German, would probably be regarded as glyphs: they were originally ligatures but over time have become characters in their own right, and these languages treat them as separate letters. However, a ligature such as "ſi", which is treated in some typefaces as a single unit, is arguably not a glyph as this is just a quirk of the typeface, essentially an allographic feature, and includes more than one grapheme. In normal handwriting, even long words are often written "joined up", without the pen leaving the paper, and the form of each written letter will often vary depending on which letters precede and follow it, but that does not make the whole word into a single glyph.
Two or more glyphs which have the same significance, whether used interchangeably or chosen depending on context, are called allographs of each other.
The term has been used in English since 1727, borrowed from glyphe (in use by French antiquaries since 1701), from the Greek γλυφή, glyphē, "carving," and the verb γλύφειν, glýphein, "to hollow out, engrave, carve" (cognate with Latin glubere "to peel" and English cleave).
In archaeology, a glyph is a carved or inscribed symbol. It may be a pictogram or ideogram, or part of a writing system such as a syllable, or a logogram. In 1897 Dana Evans discovered glyphs written on rocks in the Colorado Desert. These ancient characters have been called the most enlightening discovery in Native American History in the 19th Century.
In typography, a glyph has a slightly different definition: it is "the specific shape, design, or representation of a character". It is a particular graphical representation, in a particular typeface, of an element of written language, which could be a grapheme, or part of a grapheme, or sometimes several graphemes in combination (a composed glyph). If there is more than one allograph of a unit of writing, and the choice between them depends on context or on the preference of the author, they now have to be treated as separate glyphs, because mechanical arrangements have to be available to differentiate between them and to print whichever of them is required. The same is true in computing. In computing as well as typography, the term "character" refers to a grapheme or grapheme-like unit of text, as found in natural language writing systems (scripts). In typography and computing, the range of graphemes is broader than in a written language in other ways too: a typographical font often has to cope with a range of different languages each of which contribute their own graphemes, and it may also be required to print other symbols such as dingbats. The range of glyphs required increases correspondingly. In summary, in typography and computing, a glyph is a graphical unit.
In graphonomics, the term glyph is used for a noncharacter, i.e. either a subcharacter or multicharacter pattern. Most typographic glyphs originate from the characters of a typeface. In a typeface each character typically corresponds to a single glyph, but there are exceptions, such as a font used for a language with a large alphabet or complex writing system, where one character may correspond to several glyphs, or several characters to one glyph.
- In the mobile text input technologies, Glyph is a family of text input methods based on the decomposition of letters into basic shapes.
- In role-playing games, the word glyph is sometimes used alongside the word "rune" in describing magical drawings or etchings. Runes often refer to placing the image on an object or person to empower it, whereas the magic in a glyph lies dormant and is only triggered when the glyph is read or approached.
- Character encoding
- Complex text layout
- HTML decimal character rendering
- Palaeography, the study of ancient writing
- For example, the sequence ſi contains two characters, but can be represented by one glyph, the two characters being combined into a single unit known as a ligature. Conversely, some older models of typewriters require the use of multiple glyphs to depict a single character, as an overstruck apostrophe and period to create an exclamation mark.