Skip to content

Instantly share code, notes, and snippets.

@finalfantasia
Last active January 10, 2017 08:03
Show Gist options
  • Save finalfantasia/f7176bbf8fde1c6e66ba7ed955ddfca4 to your computer and use it in GitHub Desktop.
Save finalfantasia/f7176bbf8fde1c6e66ba7ed955ddfca4 to your computer and use it in GitHub Desktop.
Make Arabic Letters Connected in Emacs
;; Evaluate the following to get a list of all typefaces and pick an Arabic typeface from it.
;; (In my case, it was "PakType Naskh Basic".):
(print (font-family-list))
;; Add the following line to ~/.emacs/init.el (or ~/.emacs)
;; (Change the name of the typeface at the end to that of the one you picked above.):
(when window-system
(set-fontset-font "fontset-default" '(#x600 . #x6ff) "PakType Naskh Basic"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment