In article <[EMAIL PROTECTED]>, zhaohs <[EMAIL PROTECTED]> writes:

>   About the emacscvs.patch, you can get it from:
>   http://www.forcix.cx/files/emacscvs.patch
>   The following is the function of this patch, which I have excerpted from
> the article "Emacs CVS on Debian":
>  ***************************
>  The first thing Emacs needs is a small patch to integrate well with Debian.
> This patch tells Emacs to initialize the Debian Emacs infrastructure, and
> declare itself as being the flavor emacs-snapshot. This is the same flavor
> as the new Debian package, so you can't have both installed at the same
> time. This is necessary because some Debian packages ignore unknown Emacs
> flavors, but work well with emacs-snapshot. If you want them both installed
> at the same time, edit the patch, replacing all occurrences of
> emacs-snapshot with emacscvs.

I see.

> > (set-fontset-font
> >   (frame-parameter nil 'font)
> >   '(#x20000 . #x2fa1d)
> >   '("FONT_FAMILY_NAME" . nil))
> > 
> > FONT_FAMILY_NAME is the actual family name of your extB
> > font.
>   I've done this following your advice as this:
>   My ExtB font name is sunextb.ttf, and with the fontforge, I can see the
> family name of the font is: Sun-ExtB, BTW, the font's original name is
> Sun-ExtB.ttf, and for convience, for change it into sunextb.ttf, dose this
> matter?

No.  But, I found one problem and just fixed it.

>   So, I put the following lisp codes into my .emacs file:

>   *********************
>  (set-fontset-font
>    (frame-parameter nil 'font)
>    '(#x20000 . #x2fa1d)
>    '("Sun-ExtB" . nil))
>   ********************* 
>   But when I run the emacs, I get the error message as follows:
  
After updating to the latest code,
Please try this instead:

(set-fontset-font
 (frame-parameter nil 'font)
 '(#x20000 . #x2fa1d)
 '("*-Sun-ExtB" . "unicode-sip"))

---
Kenichi Handa
[EMAIL PROTECTED]

PS. Don't forget to run Emacs with this arg:
% emacs --enable-font-backend 

---
Kenichi Handa
[EMAIL PROTECTED]

_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to