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: X fonts selection weirdness Date: Wed, 25 Jun 2008 16:47:22 +0900 Message-ID: References: <20080624.145703.566779761171555788.kasahara@nc.kyushu-u.ac.jp> <20080624.180802.154682915676368965.kasahara@nc.kyushu-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1214380068 27755 80.91.229.12 (25 Jun 2008 07:47:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2008 07:47:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yoshiaki Kasahara Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 25 09:48:33 2008 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 1KBPjz-000759-Vk for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2008 09:48:32 +0200 Original-Received: from localhost ([127.0.0.1]:42971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBPjA-00030n-D3 for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2008 03:47:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBPj4-00030h-Gu for emacs-devel@gnu.org; Wed, 25 Jun 2008 03:47:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBPj3-00030U-0O for emacs-devel@gnu.org; Wed, 25 Jun 2008 03:47:34 -0400 Original-Received: from [199.232.76.173] (port=47830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBPj2-00030R-Ry for emacs-devel@gnu.org; Wed, 25 Jun 2008 03:47:32 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:20087) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KBPj2-0001dN-IM for emacs-devel@gnu.org; Wed, 25 Jun 2008 03:47:32 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBPj0-00072j-Qm for emacs-devel@gnu.org; Wed, 25 Jun 2008 03:47:31 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m5P7mSR4002113; Wed, 25 Jun 2008 16:48:28 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m5P7lPvp026212; Wed, 25 Jun 2008 16:47:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m5P7lMkt017318; Wed, 25 Jun 2008 16:47:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KBPis-0003BB-BA; Wed, 25 Jun 2008 16:47:22 +0900 In-reply-to: <20080624.180802.154682915676368965.kasahara@nc.kyushu-u.ac.jp> (message from Yoshiaki Kasahara on Tue, 24 Jun 2008 18:08:02 +0900 (JST)) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by mx20.gnu.org: Solaris 9 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:99896 Archived-At: In article <20080624.180802.154682915676368965.kasahara@nc.kyushu-u.ac.jp>, Yoshiaki Kasahara writes: > Thank you very much. It worked for '-fn' option. It seems that > create-fontset-from-ascii-font still ignores specified DPI, though... > (create-fontset-from-ascii-font > "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1" nil "misc_14") > "-misc-fixed-medium-r-normal--13-*-100-100-c-70-fontset-misc_14" I installed a fix. Please try again. > By the way, I have one more unsolved question... Is this a correct way > to specify Japanese kanji characters to use Japanese kanji fonts? > (after emacs -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1') > (set-fontset-font "fontset-startup" > 'japanese-jisx0208 > '("misc-fixed" . "jisx0208.1983")) > Without explicit set-fontset-font, some symbol characters are > displayed using iso10646 font instead of jisx0208 font, such as > -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1. The above should work, but I'm now thinking about introducing non-default-font-script-list: non-default-font-script-list is a variable defined in `C source code'. Its value is (arabic syriac thaana devanagari before gurmukhi gurmukhi oriya tamil telugu kannada malayalam sinhala thai lao tibetan myanmar hangul khmer mongolian kana han ideographic-description cjk-misc hangul cham tai-viet) Documentation: List of scripts not to display by the default font. Usually, the font specified for ASCII characters is also used to display a non-ASCII character if the font supports that character. But, if a character belongs to one of these scripts, a font for it is determined by looking up the current fontset and the default fontset. But, I have not yet decided the detail of the implementation. Could you please wait for a while? --- Kenichi Handa handa@ni.aist.go.jp