Christian Moe <[email protected]> writes: > Khalid Rafi <[email protected]> writes: > >> >> Here is my font configuration: > (...) >> (set-fontset-font t 'arabic (font-spec :family "Cairo" :size 18)) > (...) >> I face this issue on both Android and Linux. On Android, the Arabic font >> defaults to Noto Naskh Arabic. > > These are both proportional-width faces.
This is indeed the culprit. Confirmed. Org mode does not yet support pixel-precise alignment (I once wrote a patch, but it is degrading the alignment performance). Before we implement the more precise alignment, non-proportional fonts will remain an issue. > Would it be an acceptable solution to just use monospace fonts everywhere? > > If not, it's possible to use variable-pitch in most of the Org buffer > and set faces of blocks like org-table to :inherit fixed-width. > > As for making Org tables work with variable-pitch faces, Ihor will know > better than me what is feasible. Another way is https://github.com/casouri/valign -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
