Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis is incorrect - RTL text is backwards #7

Open
simoncozens opened this issue Sep 2, 2024 · 1 comment
Open

Analysis is incorrect - RTL text is backwards #7

simoncozens opened this issue Sep 2, 2024 · 1 comment

Comments

@simoncozens
Copy link
Contributor

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|[email protected],-389.0+0.0|[email protected],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)

@paullinnerud
Copy link
Contributor

Yes, the initial requirements for this project did not require RTL. I don't think it would be hard to add such support though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants