[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode support for GNU Emacs, II



Otfried Cheong <otfried@cs.ust.hk> writes:

> Since I couldn't bear seeing the misaligned Thai and the \u1200
> escapes for Ethiopic, I've added Ethiopic conversion and Thai/Lao
> combining modifiers to the package.  The current version is 0.5, it's
> still at http://www.cs.ust.hk/~otfried/Mule/.

Has anybody managed to get this package to work under Emacs 20.4?
It seems that the basic UTF8 handling works correct, but Emacs is unable
to display the characters, although the appropriate fonts are installed:

-gnu-unifont-medium-r-normal--0-0-75-75-c-0-iso10646-1
-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
-misc-fixed-medium-r-normal--0-0-100-100-c-0-iso10646-1
-misc-fixed-medium-r-normal--0-0-75-75-c-0-iso10646-1
-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1
-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso10646-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

Following the instructions and adding the following to ~/.emacs

(create-fontset-from-fontset-spec 
    "-misc-fixed-medium-r-normal-*-18-*-*-*-*-*-fontset-standard")

all I get is: `Wrong type argument: stringp, nil'.  (According to
the documentation, the format of the fontset specification string is
different with Emacs 20.4.)

So I tried to set up a proper fontset specification in ~/.Xdefaults,
but neither of the two worked (yes, I remembered to call xrdb(1x)):

Emacs.Fontset-0: -etl-fixed-medium-r-normal--16-154-75-75-c-80-fontset-etl, \
  chinese-gb2312:-*-fangsong ti-medium-r-normal--*-*-*-*-*-*-gb2312.1980-*, \
  unicode-mono:-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1, \
  unicode-wide:-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
Emacs.Font: fontset-etl

Emacs.Fontset-0: -misc-fixed-medium-r-normal-*-18-*-*-*-*-*-fontset-standard
Emacs.Font: fontset-standard

Characters of the unicode-mono and unicode-wide charset are displayed
as little boxes.  The specification for `chinese-gb2312' is honoured,
though.  `M-x describe-fontset' gives the following information:

Fontset-Name						  WDxHT Style
------------						  ----- -----
-etl-fixed-medium-r-normal--16-154-75-75-c-80-fontset-etl  8x16	medium 
  O Charset / Fontname
  - ------------------
  ? unicode-wide
    not specified
  ? unicode-mono
    not specified
  ? korean-johab
    not specified

Perhaps this question is more related to Emacs than to Unicode, in the
end. :-/

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/