Blame docs/html/reordering-in-levels-0-and-1.html
|
Packit |
874993 |
|
|
Packit |
874993 |
<html>
|
|
Packit |
874993 |
<head>
|
|
Packit |
874993 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
Packit |
874993 |
<title>Reordering in levels 0 and 1: HarfBuzz Manual</title>
|
|
Packit |
874993 |
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
|
Packit |
874993 |
<link rel="home" href="index.html" title="HarfBuzz Manual">
|
|
Packit |
874993 |
<link rel="up" href="clusters.html" title="">
|
|
Packit |
874993 |
<link rel="prev" href="a-clustering-example-for-levels-0-and-1.html" title="A clustering example for levels 0 and 1">
|
|
Packit |
874993 |
<link rel="next" href="the-distinction-between-levels-0-and-1.html" title="The distinction between levels 0 and 1">
|
|
Packit |
874993 |
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
|
Packit |
874993 |
<link rel="stylesheet" href="style.css" type="text/css">
|
|
Packit |
874993 |
</head>
|
|
Packit |
874993 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
![Home](home.png)
|
|
Packit |
874993 |
![Up](up.png)
|
|
Packit |
874993 |
![Prev](left.png)
|
|
Packit |
874993 |
![Next](right.png)
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
Reordering in levels 0 and 1
|
|
Packit |
874993 |
|
|
Packit |
874993 |
Another common operation in the more complex shapers is when things
|
|
Packit |
874993 |
reorder. In those cases, to maintain monotone clusters, HB merges
|
|
Packit |
874993 |
the clusters of everything in the reordering sequence. For example,
|
|
Packit |
874993 |
let's again start with the character sequence:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
A,B,C,D,E
|
|
Packit |
874993 |
0,1,2,3,4
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
If D is reordered before B ,
|
|
Packit |
874993 |
then the B , C , and
|
|
Packit |
874993 |
D clusters merge, and we get:
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
A,D,B,C,E
|
|
Packit |
874993 |
0,1,1,1,4
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
This is clearly not ideal, but it is the only sensible way to
|
|
Packit |
874993 |
maintain monotone indices and retain the true relationship between
|
|
Packit |
874993 |
glyphs and characters.
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
|
|
Packit |
874993 |
Generated by GTK-Doc V1.25.1
|
|
Packit |
874993 |
</body>
|
|
Packit |
874993 |
</html>
|