funderburkjim / testing

For testing various features of github. Nothing important here.
0 stars 0 forks source link

Devanagari Emacs Windows 10 #19

Open funderburkjim opened 8 years ago

funderburkjim commented 8 years ago

I recently upgraded to Windows 10. After this, Emacs editor did not properly display Devanagari text.

I reported this to gnu emacs bug system, and software Engineer Eli Zaretskii helped find a solution.

The solution is to put the following in the local .emacs file (e.g., in my case, To make a file c:.emacs (that is emacs)) with the contents:

; for Windows 10 display of devanagari
; from Eli Zaretskii (gnu.emacs maintainer staff)
; Aug 18, 2015
; This should be copied to 'c:\' directory
(set-fontset-font "fontset-default" 'devanagari
                    (font-spec :registry "iso10646-1" :otf '(dev2 nil (rphf)))
                    nil 'prepend)
; alternately
;(set-fontset-font "fontset-default" 'devanagari "Nirmala UI" nil 'prepend)