1
0
mirror of https://github.com/google/fonts.git synced 2024-12-18 14:21:47 +03:00
fonts/knowledge/glossary/terms/shaping/content.md
2021-12-07 09:28:03 -10:00

24 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Shaping refers to the automatic process of combining plain text with a [font](/glossary/font), according to rules supplied by the shaping engine and the font itself.
<figure>
![On the left, the “f” and “i” characters set next to each other, with the borders around their glyphs. On the right, the “fi” ligature, with one single border around the unified glyph.](images/Shaping_1.svg)
</figure>
When converting typed characters into readable text, there are two main operations that occur in any typesetting software, from the humble word processor to advanced print design apps: assigning the characters the correct [glyphs](/glossary/glyph) (substitution), and moving them into the correct locations on the line (positioning).
For Latin, this is often an almost subliminal finessing of type, such as substituting the f and i characters into the single fi [ligature](/glossary/ligature) glyph, or applying [kerning](/glossary/kerning_kerning_pairs) rules to shift the position of a glyph closer to the one preceding it. If no ligatures or kerns in the font are processed by a shaping engine, the text will remain [legible](/glossary/legibility_readability), although less readable.
But for many other scripts, these processes are essential. In Adobe apps, switching on the World Ready Paragraph Composer should handle everything automatically, but when turned off—i.e., left at a Latin-centric default—the consequences are more serious:
<figure>
![Two example renderings of the Bengali syllable RBRii, shaped incorrectly on the left, without the World Ready Paragraph Composer turned on, and formed correctly on the right by character sequence Ra + Hoshonto (Virama) + Ba + Hoshonto + Ra + Dirgho I (long i vowel).](images/thumbnail.svg)
<figcaption>The Bengali syllable RBRii shaped incorrectly on the left, without the World Ready Paragraph Composer turned on, and formed correctly on the right by character sequence Ra + Hoshonto (Virama) + Ba + Hoshonto + Ra + Dirgho I (long i vowel).</figcaption>
</figure>
On the [notarabic.com](https://www.notarabic.com/?bout) blog, designer Ramsey Nasser compiles many examples of Arabic text being used in real products, packaging, and publications without correct (or even any) shaping being applied. This is typically because the designer is not fluent in the language and typesetting software is very often Latin-centric, meaning that mistakes in the shaping get overlooked.