| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>Complex scripts: HarfBuzz Manual</title> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> |
| <link rel="home" href="index.html" title="HarfBuzz Manual"> |
| <link rel="up" href="shaping-concepts.html" title="Shaping concepts"> |
| <link rel="prev" href="shaping-concepts.html" title="Shaping concepts"> |
| <link rel="next" href="shaping-operations.html" title="Shaping operations"> |
| <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> |
| <link rel="stylesheet" href="style.css" type="text/css"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| <td width="100%" align="left" class="shortcuts"></td> |
| <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| <td><a accesskey="u" href="shaping-concepts.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| <td><a accesskey="p" href="shaping-concepts.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| <td><a accesskey="n" href="shaping-operations.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| </tr></table> |
| <div class="section"> |
| <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
| <a name="complex-scripts"></a>Complex scripts</h2></div></div></div> |
| <p> |
| In text-shaping terminology, scripts are generally classified as |
| either <span class="emphasis"><em>complex</em></span> or <span class="emphasis"><em>non-complex</em></span>. |
| </p> |
| <p> |
| Complex scripts are those for which transforming the input |
| sequence into the final layout requires some combination of |
| operations—such as context-dependent substitutions, |
| context-dependent mark positioning, glyph-to-glyph joining, |
| glyph reordering, or glyph stacking. |
| </p> |
| <p> |
| In some complex scripts, the shaping rules require that a text |
| run be divided into syllables before the operations can be |
| applied. Other complex scripts may apply shaping operations over |
| entire words or over the entire text run, with no subdivision |
| required. |
| </p> |
| <p> |
| Non-complex scripts, by definition, do not require these |
| operations. However, correctly shaping a text run in a |
| non-complex script may still involve Unicode normalization, |
| ligature substitutions, mark positioning, kerning, and applying |
| other font features. The key difference is that a text run in a |
| non-complex script can be processed sequentially and in the same |
| order as the input sequence of Unicode codepoints, without |
| requiring an analysis stage. |
| </p> |
| </div> |
| <div class="footer"> |
| <hr>Generated by GTK-Doc V1.25</div> |
| </body> |
| </html> |