summaryrefslogtreecommitdiff
path: root/tests/suite/layout/inline/linebreak.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-09-17 17:35:56 +0200
committerGitHub <noreply@github.com>2024-09-17 15:35:56 +0000
commitab8295c07dd1883f9c19d3e075e7a4971fec0de0 (patch)
treeb451ae3577f50a8d9471deea6a1dd1789a9b9b9c /tests/suite/layout/inline/linebreak.typ
parent0abd46c3796e18e997e26f94837c76dc446036d0 (diff)
Fix repetition of Thai characters (#4977)
Co-authored-by: Martin Haug <mhaug@live.de>
Diffstat (limited to 'tests/suite/layout/inline/linebreak.typ')
-rw-r--r--tests/suite/layout/inline/linebreak.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/suite/layout/inline/linebreak.typ b/tests/suite/layout/inline/linebreak.typ
index 7e959352..8371d76e 100644
--- a/tests/suite/layout/inline/linebreak.typ
+++ b/tests/suite/layout/inline/linebreak.typ
@@ -115,3 +115,11 @@ For info see #link("https://myhost.tld").
// for links because it now splits on word boundaries. We avoid the link markup
// syntax because it's show rule interferes.
#"http://creativecommons.org/licenses/by-nc-sa/4.0/"
+
+--- issue-4468-linebreak-thai ---
+// In this bug, empty-range glyphs at line break boundaries could be duplicated.
+// This happens for Thai specifically because it has both
+// - line break opportunities
+// - shaping that results in multiple glyphs in the same cluster
+#set text(font: "Noto Sans Thai")
+#h(85pt) งบิก