| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>Text runs: 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="unicode-character-categories.html" title="Unicode character categories"> |
| <link rel="next" href="opentype-shaping-models.html" title="OpenType shaping models"> |
| <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="unicode-character-categories.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| <td><a accesskey="n" href="opentype-shaping-models.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="text-runs"></a>Text runs</h2></div></div></div> |
| <p> |
| Real-world text usually contains codepoints from a mixture of |
| different Unicode scripts (including punctuation, numbers, symbols, |
| white-space characters, and other codepoints that do not belong |
| to any script). Real-world text may also be marked up with |
| formatting that changes font properties (including the font, |
| font style, and font size). |
| </p> |
| <p> |
| For shaping purposes, all real-world text streams must be first |
| segmented into runs that have a uniform set of properties. |
| </p> |
| <p> |
| In particular, shaping models always assume that every codepoint |
| in a text run has the same <span class="emphasis"><em>direction</em></span>, |
| <span class="emphasis"><em>script</em></span> tag, and |
| <span class="emphasis"><em>language</em></span> tag. |
| </p> |
| </div> |
| <div class="footer"> |
| <hr>Generated by GTK-Doc V1.25</div> |
| </body> |
| </html> |