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: fail on osx between 2/4/2009 and 2/5/2009 Date: Thu, 12 Feb 2009 16:37:43 +0900 Message-ID: References: <861vubqc79.fsf@blue.stonehenge.com> <10DD5733-4089-4A60-B090-4CB5E32A0E19@42tools.com> <49917BE9.6020903@gnu.org> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1234424287 15269 80.91.229.12 (12 Feb 2009 07:38:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 07:38:07 +0000 (UTC) Cc: Adrian.B.Robert@gmail.com, colding@42tools.com, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 12 08:39:21 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 1LXWAJ-00054w-6d for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2009 08:39:20 +0100 Original-Received: from localhost ([127.0.0.1]:36803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXW8y-0003o1-Na for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2009 02:37:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXW8u-0003nw-Jh for emacs-devel@gnu.org; Thu, 12 Feb 2009 02:37:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXW8s-0003nk-6R for emacs-devel@gnu.org; Thu, 12 Feb 2009 02:37:51 -0500 Original-Received: from [199.232.76.173] (port=53120 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXW8s-0003nh-1S for emacs-devel@gnu.org; Thu, 12 Feb 2009 02:37:50 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:55958) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXW8p-0006u3-EH; Thu, 12 Feb 2009 02:37:47 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n1C7bcGN016674; Thu, 12 Feb 2009 16:37:39 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n1C7bcR8019528; Thu, 12 Feb 2009 16:37:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n1C7bcsw000327; Thu, 12 Feb 2009 16:37:38 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LXW8l-00042n-Hd; Thu, 12 Feb 2009 16:37:43 +0900 In-reply-to: <49917BE9.6020903@gnu.org> (message from Jason Rumney on Tue, 10 Feb 2009 21:06:49 +0800) 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:109013 Archived-At: In article <49917BE9.6020903@gnu.org>, Jason Rumney writes: > Kenichi Handa wrote: > > Ah! Now I see why the current code doesn't work in > > Cocoa/GNUstep port. Hmmm, I'll think about the solution. I > > want to treat `mathematical-bold', etc. as a a kind of > > script-subgroup, not a script. > > > That would be better for Windows too. Previously there was a convenient > correspondence between the scripts in fontset.el and opentype unicode > subranges. Introducing finer granularity in fontset.el makes the job of > finding a matching font much harder. I'm now thinking about these changes: (1) Revert script-representative-chars to the previous state; i.e. single entry for mathematical. (2) Add :chars property to font-spec. The value is a list or a vector of characters; the same as that of script-representative-chars. This value supersedes what defined in script-representative-chars. (3) In the default fontset, for each subgroup of mathematical characters, register a font-spec with :script as 'mathematical and :chars as proper values for the subgroup. (4) Modify ftfont_list to pay attention to :chars property. Though, I don't know if the other backends can utilize it. --- Kenichi Handa handa@m17n.org