Analysis is incorrect - RTL text is backwards
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- internationalization, tooling
Research direction
Start by reproducing the reported command with the Arabic glyph sequence and compare the shaped output with the expected initial and final positions. Trace the RTL analysis and shaping entry point used by DWriteShapePy; done means the sequence is returned in the correct order with 06cc in initial position and 06d2 in final position.
Written by the indexing model from the issue text.
Description
DWriteShapePy doesn't seem to analyse RTL texts correctly:
PS C:\Users\simon\Desktop> python3 -m dwriteshapepy --language ar .\NNUTest.ttf -u 06cc,0679,06d2
[alefMaksura-ar.fina.alt=0+504.0|tahabove-ar=1@348.0,-389.0+0.0|behDotless-ar.init.yeh=4@0.0,375.0+204.0|nobari=0+0.0|yehbarree-ar.isol=0+1409.0]
The text should be the other way around. (06cc FARSI YEH should be in initial position, 0x6d2 YEH BARREE should be in final position)
- Dominant language
- C++
- Stars
- 18
- Forks
- 6
- Avg merge
- 1d 28m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/DWriteShapePy
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
All issues in microsoft/DWriteShapePy
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·