From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: font-selection seems broken for many non-ascii charsets Date: Mon, 06 Feb 2006 11:47:32 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139194084 19412 80.91.229.2 (6 Feb 2006 02:48:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2006 02:48:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 06 03:47:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5wPx-0000oe-Sk for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2006 03:47:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5wTE-00063j-Cj for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 21:51:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5wT4-00062I-HS for emacs-devel@gnu.org; Sun, 05 Feb 2006 21:51:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5wT2-000620-OD for emacs-devel@gnu.org; Sun, 05 Feb 2006 21:51:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5wT2-00061x-LP for emacs-devel@gnu.org; Sun, 05 Feb 2006 21:51:04 -0500 Original-Received: from [203.180.232.81] (helo=mgate01.necel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5wSS-0002fc-L1; Sun, 05 Feb 2006 21:50:29 -0500 Original-Received: from relay21.aps.necel.com (relay21 [10.29.19.50]) by mgate01.necel.com (8.13.1/8.13.1) with ESMTP id k161i6wm027499; Mon, 6 Feb 2006 11:47:33 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay21.aps.necel.com with ESMTP; Mon, 6 Feb 2006 11:47:33 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay31.aps.necel.com with ESMTP; Mon, 6 Feb 2006 11:47:33 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 550C546A; Mon, 6 Feb 2006 11:47:33 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 45 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:50073 Archived-At: Sometime recently, font selection (and some other stuff) seems to have broken for me in many cases -- in particular, Japanese and most other non-ascii fonts now render completely as empty boxes, though they worked fine for many years previously. [Chinese, Thai, and some european characters still display correctly though.] Also for some reason Emacs seems to default to using black-and-white versions of things like icons and the startup splash screen picture, though I have a true-color display. I'm not exactly sure how to debug this; it could very well be a change in my system -- though I have lots of fonts installed (both scalable and bitmap, and I have "scalable-fonts-allowed" set to t), I've recently upgraded to X version 6.9 (from x.org), which reflects a somewhat large change in the packaging of X. Any hints about useful things to for debugging? There also seems to be a weird disconnect between what "x-list-fonts" says and what will be accepted by `M-x set-default-font': for instance, the font "shinonome-gothic", which I previously used to use a lot, is present: (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*") => ("-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1" "-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0" "-shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0" "-shinonome-gothic-medium-r-normal--16-150-75-75-c-160-jisx0208.1990-0") But if I try to use it: (set-default-font (car (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*"))) Debugger entered--Lisp error: (error "Font `-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1' is not defined") modify-frame-parameters(# ((font . "-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1"))) set-default-font("-shinonome-gothic-medium-r-normal--16-150-75-75-c-80-iso8859-1") eval((set-default-font (car (x-list-fonts "*-shinonome-gothic-medium-r-*-16-*")))) ... help? Thanks, -Miles -- "Whatever you do will be insignificant, but it is very important that you do it." Mahatma Gandhi