Skip to content

Analysis is incorrect - RTL text is backwards #7

Open

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)

Activity

  1. paullinnerud commented on Sep 5, 2024

    @paullinnerud
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions