microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.11k stars 796 forks source link

Emacs 29 not rendering Arabic's first letter Alif correctly. #628

Open simurgh9 opened 2 years ago

simurgh9 commented 2 years ago

Cascadia family version

2111.01

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

Ubuntu 21.10 (impish)

Other Software

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) of 2022-04-13

I installed it like this,

sudo add-apt-repository ppa:ubuntu-elisp/ppa
sudo apt update
sudo apt install emacs-snapshot

What happened?

Arabic's first letter Alif is not rendered (at all) when followed by another character such as ن or ت as in,

تا Pronounced Ta نا Pronounced Na

Try running Emacs like this emacs -Q -l path/to/test.el with the following in the test.el,

(set-fontset-font t 'arabic "CascadiaCode-32")
(insert "نا")

I get, output

Expected, expected