Re: Hebrew font? supporting points

TAKAHASHI Naoto <[email protected]>
Newsgroups gmane.emacs.bidi
Message-ID <[email protected]>
Yotam Medini writes:

>> Emacs.Font: fontset-m17n
>> Emacs.Fontset-0: -m17n-mule-medium-r-normal-*-14-*-*-*-*-*-fontset-m17n

> But say, I don't want to change 'regular' Emacs X11-resources.
> Is there a way, to use the above font via bidi-Emacs command line?
> Or via some magic X11 envionment variable that points to
> a user defined X11-resource a file? 

Then add the following lines in your ~/.emacs file.

(set-fontset-font
 "fontset-default"
 (cons (decode-char 'ucs #x0590) (decode-char 'ucs #x05ff))
 "-m17n-*--20-*-iso10646-1")
(set-fontset-font
 "fontset-default"
 (cons (decode-char 'ucs #xfb2a) (decode-char 'ucs #xfb4f))
 "-m17n-*--20-*-iso10646-1")

Change the string "fontset-default" to whatever fontset you want.

-- 
TAKAHASHI Naoto
[email protected]
http://www.m17n.org/ntakahas/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.