Skip to content

RTL text not displayed correctly (Arabic/Hebrew text appears LTR) #9

@mhemd767767

Description

@mhemd767767

Bug Summary:
Right-to-left (RTL) text in EPUB files (e.g., Arabic, Hebrew) is displayed incorrectly in Copytype. Text appears left-to-right, and ligatures/paragraphs are broken.

Steps to Reproduce:

  1. Open Copytype.
  2. Add or load an EPUB containing Arabic or Hebrew text. from https://www.hindawi.org/books/
  3. Start typing through the text.
  4. Observe that the text is displayed left-to-right instead of right-to-left.

Expected Behavior:
Text should render properly with RTL direction, preserving ligatures and paragraph alignment.

Actual Behavior:
Text renders LTR, breaking Arabic/Hebrew words and making typing inaccurate.

Environment:

  • Copytype version: latest release (e.g., v1.0)
  • OS: Windows 10 / Linux / MacOS
  • Example EPUB: [Attach a small Arabic EPUB for testing]

Additional Notes:

  • This affects typing accuracy and readability for RTL languages.
  • Possible fix: implement bidirectional text rendering and dir="rtl" support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions