提交 144326e2 编写于 作者: S Simon Sapin 提交者: Behdad Esfahbod

Clusters are reversed based on the direction, not script

Fixes https://github.com/harfbuzz/harfbuzz/issues/1818
上级 cf1a782a
...@@ -156,14 +156,16 @@ ...@@ -156,14 +156,16 @@
order. order.
</para> </para>
<para> <para>
For left-to-right scripts (LTR) and top-to-bottom scripts (TTB), For buffers in the left-to-right (LTR)
or top-to-bottom (TTB) text flow direction,
HarfBuzz will preserve the monotonic property: client programs HarfBuzz will preserve the monotonic property: client programs
are guaranteed that monotonically increasing initial cluster are guaranteed that monotonically increasing initial cluster
values will be returned as monotonically increasing final values will be returned as monotonically increasing final
cluster values. cluster values.
</para> </para>
<para> <para>
For right-to-left scripts (RTL) and bottom-to-top scripts (BTT), For buffers in the right-to-left (RTL)
or bottom-to-top (BTT) text flow direction,
the directionality of the buffer itself is reversed for final the directionality of the buffer itself is reversed for final
output as a matter of design. Therefore, HarfBuzz inverts the output as a matter of design. Therefore, HarfBuzz inverts the
monotonic property: client programs are guaranteed that monotonic property: client programs are guaranteed that
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册