unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Scim can't be activated when the arg --enable-font-backend is used.
Date: Fri, 8 Dec 2006 10:58:58 +0800	[thread overview]
Message-ID: <20061208025858.GA5541@localdomain> (raw)
In-Reply-To: <E1GsIKp-0001O1-GM@etlken.m17n.org>

> Please update your cvs working directory and make emacs as
> this:
> 
> % cd .../emacs
> % make CFLAGS='-g -DDEBUG_XIC_FONTSET'
> 
> With this Emacs I get this kind of debugging information:
> 
> % LANG=zh_CN XMODIFIERS=@im=SCIM emacs-unicode --enable-font-backend
> XIC Fontset failed: -*-*-medium-r-normal--21-*-*-*-*-*
>   missing: ISO8859-1
>   missing: GB2312.1980-0
> XIC Fontset created: -*-*-medium-r-normal--20-*-*-*-*-*
> 
> And I can activate scim by C-SPC.  What is your case?

After updating the Emacs from CVS, I make Emacs as this:

% cd .../emacs
% make CFLAGS='-g -DDEBUG_XIC_FONTSET' (The first way)
% make bootstrap CFLAGS='-g -DDEBUG_XIC_FONTSET' (The second way)

Then I install it by sudo make install.

When I run Emacs as this:

% LANG=zh_CN XMODIFIERS=@im=SCIM emacs --enable-font-backend

I meet the error message:

========================================
(emacs:8090): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
XIC Fontset created: -*-*-medium-r-normal--15-*-*-*-*-*
========================================

So I run the command locale, and find this:

=====================
zhaohs@ubuntu-edgy:~$ locale
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh:en_US:en
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
=====================

Then, I run Emacs as this:

% LANG=zh_CN.UTF-8 XMODIFIERS=@im=SCIM emacs --enable-font-backend

But this time, I meet the following error message:

==================================
XIC Fontset failed: -*-*-medium-r-normal--15-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--14-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--17-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--18-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--12-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--11-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--20-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--10-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--8-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--24-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--26-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
XIC Fontset failed: -*-*-medium-r-normal--34-*-*-*-*-*
  missing: ISO8859-1
  missing: ISO8859-1
  missing: GB2312.1980-0
  missing: GBK-0
  missing: ISO10646-1
==================================

As the result, the SCIM can't be activated still.

Furthmore, if I run Emacs as this:

% emacs --enable-font-backend

The error message is the same as the previous.

-- 
Hongyi Zhao <hongyi.zhao@gmail.com>
赵弘毅
--

题目:《惠崇春江晚景》
作者:苏轼(1036-1101)
竹外桃花三两枝,春江水暖鸭先知。
萎蒿满地芦芽短,正是河豚欲上时。

  parent reply	other threads:[~2006-12-08  2:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 10:51 Scim can't be activated when the arg --enable-font-backend is used Hongyi Zhao
2006-12-07 12:26 ` Kenichi Handa
2006-12-07 15:11   ` Hongyi Zhao
2006-12-08  2:58   ` Hongyi Zhao [this message]
2006-12-08  3:58     ` Kenichi Handa
2006-12-08  5:00       ` Hongyi Zhao
2006-12-08 12:06         ` Kenichi Handa
2006-12-08 16:22           ` Hongyi Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061208025858.GA5541@localdomain \
    --to=hongyi.zhao@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).