Wrong display of Arabic Language #714

Open
opened 2022-04-14 05:28:50 +02:00 by kamalsy · 1 comment
kamalsy commented 2022-04-14 05:28:50 +02:00 (Migrated from github.com)

Arabic is RTL Language. but in Cool Retro Term words are displayed in reverse.
example:
the word 'مرحبا' displayed as: 'ابحرم'.
changing the font didn't help.
could you please fix this. I really want this terminal to be my default.

Arabic is RTL Language. but in Cool Retro Term words are displayed in reverse. example: the word 'مرحبا' displayed as: 'ابحرم'. changing the font didn't help. could you please fix this. I really want this terminal to be my default.
noureddin commented 2022-05-25 09:30:02 +02:00 (Migrated from github.com)

CRT uses a separately maintained fork of the QML port of qtermwidget (Konsole), which supports Bidirectional text, but this support is disabled by default.

Because the author doesn't seem to be active currently, I think it's best to explain how to enable it manually, until it's fixed upstream:

  1. Update your system packages (apt full-upgrade for example). This ensures you don't have incompatible versions of libraries.

  2. Installs the dependencies in the build instructions for Linux or macOS.

  3. Under the Compile heading, do the git clone and cd commands, then before qmake do this:

    sed -i '/^,_bidiEnabled/s/false/true/' qmltermwidget/lib/TerminalDisplay.cpp
    
  4. Continue the instructions (qmake, make, etc).

  5. Link (don't move) the resulting cool-retro-term to somewhere in your $PATH.

CRT uses a separately maintained fork of the QML port of qtermwidget (Konsole), which supports Bidirectional text, but this support is disabled by default. Because the author doesn't seem to be active currently, I think it's best to explain how to enable it manually, until it's fixed upstream: 1. Update your system packages (`apt full-upgrade` for example). This ensures you don't have incompatible versions of libraries. 2. Installs the dependencies in the build instructions for [Linux](https://github.com/Swordfish90/cool-retro-term/wiki/Build-Instructions-(Linux)) or [macOS](https://github.com/Swordfish90/cool-retro-term/wiki/Build-Instructions-(macOS)). 3. Under the Compile heading, do the `git clone` and `cd` commands, then before `qmake` do this: ```bash sed -i '/^,_bidiEnabled/s/false/true/' qmltermwidget/lib/TerminalDisplay.cpp ``` 4. Continue the instructions (`qmake`, `make`, etc). 5. Link (don't move) the resulting `cool-retro-term` to somewhere in your `$PATH`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#714
No description provided.