From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: set-fontset-font and preferred charset? Date: Thu, 09 Jul 2009 21:00:25 +0900 Message-ID: References: <20090709.133204.586026057195367473.kasahara@nc.kyushu-u.ac.jp> <20090709.140615.308756192925110043.kasahara@nc.kyushu-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247141120 9089 80.91.229.12 (9 Jul 2009 12:05:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 12:05:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yoshiaki Kasahara Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 14:05:13 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOsNE-0000id-FC for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 14:05:12 +0200 Original-Received: from localhost ([127.0.0.1]:54614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOsND-0006FE-EY for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 08:05:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOsIq-0003Rm-Ll for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:00:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOsIi-0003Ne-S3 for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:00:39 -0400 Original-Received: from [199.232.76.173] (port=37830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOsIi-0003NW-JA for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:00:32 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:50910) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOsIh-0007nZ-LX for emacs-devel@gnu.org; Thu, 09 Jul 2009 08:00:32 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n69C0QLV007698; Thu, 9 Jul 2009 21:00:26 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n69C0PT3017225; Thu, 9 Jul 2009 21:00:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id n69C0PjI020857; Thu, 9 Jul 2009 21:00:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MOsIb-0006c8-Hw; Thu, 09 Jul 2009 21:00:25 +0900 In-Reply-To: <20090709.140615.308756192925110043.kasahara@nc.kyushu-u.ac.jp> (message from Yoshiaki Kasahara on Thu, 09 Jul 2009 14:06:15 +0900 (JST)) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112239 Archived-At: In article <20090709.140615.308756192925110043.kasahara@nc.kyushu-u.ac.jp>, Yoshiaki Kasahara writes: > Fontset: -misc-fixed-medium-r-normal--14-*-75-75-c-70-fontset-startup > CHAR RANGE (CODE RANGE) > FONT NAME (REQUESTED and [OPENED]) > C-@ .. DEL > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 > \200 .. (#x80 .. #xFF) > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 > -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0 > .. (#x100 .. #xFFFF) > -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0 > .. (#x10000 .. #x3FFF7F) > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 > \200 .. \377 (#x3FFF80 .. #x3FFFFF) > -*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1 > ------ This list looks good. Please try this workarond code instead. At least, it works for me. (if (display-graphic-p) (let ((fontset (face-attribute 'default :fontset))) (set-fontset-font fontset '(#x80 . #xFF) (font-spec :registry "iso8859-1" :script 'latin)) (set-fontset-font fontset 'greek '(nil . "iso8859-7")) (set-fontset-font fontset 'cyrillic '(nil . "iso8859-5")) (set-fontset-font fontset '(#x80 . #xFFFF) '(nil . "jisx0208.1983-0") nil 'append))) --- Kenichi Handa handa@m17n.org