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: Xft font with different pixelsize? Date: Wed, 25 Apr 2007 22:13:01 +0900 Message-ID: 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: sea.gmane.org 1177506809 9056 80.91.229.12 (25 Apr 2007 13:13:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 13:13:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 15:13:24 2007 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 1HghJE-0001GY-33 for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 15:13:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HghOq-0006La-Fu for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 09:19:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HghOd-0006Dj-Jc for emacs-devel@gnu.org; Wed, 25 Apr 2007 09:18:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HghOb-0006CJ-MX for emacs-devel@gnu.org; Wed, 25 Apr 2007 09:18:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HghOb-0006C3-Cy for emacs-devel@gnu.org; Wed, 25 Apr 2007 09:18:57 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HghIx-00049X-P9 for emacs-devel@gnu.org; Wed, 25 Apr 2007 09:13:08 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id l3PDD42Y019846 for ; Wed, 25 Apr 2007 22:13:04 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id l3PDD4kD009916 for ; Wed, 25 Apr 2007 22:13:04 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id l3PDD11h018235 for ; Wed, 25 Apr 2007 22:13:01 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1HghIr-0003fA-6a for emacs-devel@gnu.org; Wed, 25 Apr 2007 22:13:01 +0900 User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: Solaris 8 (1) 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:70094 Archived-At: > My purpose is to use pixelsize 12 for normal text and pixel 14 for > another language > > And for xft, I tried > (set-fontset-font > "fontset-utf8" 'han > '("WCD" . "unicode-bmp") nil 'prepend) > which works but the pixelsize is 12 as used for default font > "bitstream vera sans mono". And ("WCD-14" . "unicode-bmp") does not > work at all. > > So, is there anyway to set different pixelsize for different Unicode > range characters using xft? Please try this with the latest code. (set-fontset-font "fontset-utf8" 'han "-*-WCD-*-*-*-*-14-*-*-*-*-*-iso10646-0" 'prepend) Please note that fontset related code still doesn't accept a font-config-like font name. --- Kenichi Handa handa@m17n.org