I use this function in init.el
file so that I can switch to Arabic language when writing code in Arabic and select an Arabic font for that:
(defun arabic-input-font ()
"changes the set-input-method to Arabic and selects another font"
(interactive)
(set-input-method "arabic")
(face-remap-add-relative 'default :family "Droid Arabic Naskh" :height 110))
When I use any other Arabic font there is no problem. Problem arises only when I choose this font Droid Arabic Naskh
, source of this font. I like this font for its clarity in writing.
Scratch buffer before switching to this font:
Scratch buffer after:
I want to use the following fonts for the three languages as fallback fonts for their respective languges:
English - consolas
Arabic - Droid Arabic Naskh
Hebrew - SBL Hebrew
I will be very grateful for fixing this issue and let English script appears along with the Arabic one using this font.
Notes
Emacs version: GNU Emacs 24.4.1 (i686-pc-mingw32)
Windows platform