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

2.4 KiB
Raw Blame History

Shaping refers to the automatic process of combining plain text with a font, according to rules supplied by the shaping engine and the font itself.

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.

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 (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 glyph, or applying kerning 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, 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:

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).

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).

On the notarabic.com 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.