summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-04-07 00:23:33 +0200
committerLaurenz <laurmaedje@gmail.com>2021-04-07 00:24:42 +0200
commit076e767b0ed8829d2c2ad0038b650c4809203d7a (patch)
treee1390785a9899da8985504f452180cfa2a7abafa /tests
parent464a6ff75e198253ba4128d4820e9ad09458a22d (diff)
Do binary search and find the outermost glyph with the text index 🔍
Co-Authored-By: Martin <mhaug@live.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/shaping.pngbin12609 -> 13298 bytes
-rw-r--r--tests/typ/text/shaping.typ7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/text/shaping.png b/tests/ref/text/shaping.png
index 76058b2e..09f154ab 100644
--- a/tests/ref/text/shaping.png
+++ b/tests/ref/text/shaping.png
Binary files differ
diff --git a/tests/typ/text/shaping.typ b/tests/typ/text/shaping.typ
index 5a469a45..ba543e71 100644
--- a/tests/typ/text/shaping.typ
+++ b/tests/typ/text/shaping.typ
@@ -36,3 +36,10 @@ Aب😀🏞سمB
// Tofus are rendered with the first font.
A🐈中文B
+
+---
+// Test reshaping.
+
+#font("Noto Serif Hebrew")
+#lang("he")
+ס \ טֶ