macvim-dev / macvim-dev/macvim

Arabic doesn't render correctly

Open
#800 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Renderer
Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Hi, I use vim inside the terminal and it renders Arabic correctly. But I'm missing MacVim features. I was wondering if MacVim is using CoreText, then why Arabic is rendered incorrectly?

Take the following words for example, if you check the vim 8 in terminal it should display it as you can see it in your browser (if you have already executed set noarabic).

عربی فارسی

‌But in MacVim, the Arabic text is rendered from left to right. I saw there is an issue already posted here #696, but was it fixed?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Arabic rendering in MacVim and comparing it with terminal Vim and the browser using the example words. Review the related issue #696 for prior investigation; done means Arabic text renders right-to-left correctly in MacVim.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
desktop, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.