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: encoding of font-name with unicode branch new font-backend Date: Thu, 07 Dec 2006 20:21:34 +0900 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1165490444 12733 80.91.229.10 (7 Dec 2006 11:20:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 11:20:44 +0000 (UTC) Cc: emacs-unicode@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 07 12:20:41 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsHIq-0006Lq-Br for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 12:20:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsHIp-0004hE-Ry for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 06:20:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsHIe-0004h6-7l for emacs-devel@gnu.org; Thu, 07 Dec 2006 06:20:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsHIc-0004gu-Sx for emacs-devel@gnu.org; Thu, 07 Dec 2006 06:20:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsHIc-0004gr-MG for emacs-devel@gnu.org; Thu, 07 Dec 2006 06:20:22 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsHIb-0007dU-1m; Thu, 07 Dec 2006 06:20:21 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id kB7BKIO7002392; Thu, 7 Dec 2006 20:20:19 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id kB7BKIdZ025776; Thu, 7 Dec 2006 20:20:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id kB7BKHRN028917; Thu, 7 Dec 2006 20:20:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1GsHJm-0000Zr-9R; Thu, 07 Dec 2006 20:21:34 +0900 Original-To: Miles Bader In-reply-to: (message from Miles Bader on Thu, 07 Dec 2006 17:06:45 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:63406 Archived-At: In article , Miles Bader writes: > If I do "C-u C-x =" on a character which is displayed with a > font-backend font that has a non-latin name, the font-name is not > displayed correctly: It's displayed as raw binary characters, which are > actually the bytes of a UTF-8 encoded font name. > It seems that somewhere (decode-coding-string ... 'utf-8) has to be > called on the font name, I agree. > but I'm not sure which layer has the knowledge > that the string is actually utf-8... Me neither. :-( It seems that fontconfig can contains FC_FAMILYLANG property in FcPattern, but there's no FC_FAMILY_ENCODING. --- Kenichi Handa handa@m17n.org