Right-to-left drawing text: bidi and Arabic-script shaping (Persian, Arabic, Urdu) (#315)

Squash of PR #315 by @vangel76.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valentin Klein
2026-10-11 11:13:29 -04:00
committed by GitHub
co-authored by Claude Opus 5.5
parent becb109cc1
commit d74f7a4108
11 changed files with 1125 additions and 43 deletions
Generated
+8
View File
@@ -631,7 +631,9 @@ name = "cadcraft-fonts"
version = "0.5.0"
dependencies = [
"cadcraft-geom",
"harfrust",
"skrifa 0.47.0",
"unicode-bidi",
]
[[package]]
@@ -3731,6 +3733,12 @@ dependencies = [
"windows-sys 0.61.2",
]
[[package]]
name = "unicode-bidi"
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
[[package]]
name = "unicode-general-category"
version = "1.1.0"