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 confusion Date: Wed, 04 Mar 2009 14:19:38 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236144035 24230 80.91.229.12 (4 Mar 2009 05:20:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2009 05:20:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 04 06:21:51 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 1LejY8-0007rV-4n for ged-emacs-devel@m.gmane.org; Wed, 04 Mar 2009 06:21:44 +0100 Original-Received: from localhost ([127.0.0.1]:43604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LejWm-0000LH-Om for ged-emacs-devel@m.gmane.org; Wed, 04 Mar 2009 00:20:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LejWJ-0000B2-3N for emacs-devel@gnu.org; Wed, 04 Mar 2009 00:19:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LejWG-0000AW-EX for emacs-devel@gnu.org; Wed, 04 Mar 2009 00:19:49 -0500 Original-Received: from [199.232.76.173] (port=57287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LejWG-0000AT-95 for emacs-devel@gnu.org; Wed, 04 Mar 2009 00:19:48 -0500 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:50816) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LejWA-000115-HA; Wed, 04 Mar 2009 00:19:43 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n245JYK3026414; Wed, 4 Mar 2009 14:19:39 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay11.aps.necel.com with ESMTP; Wed, 4 Mar 2009 14:19:39 +0900 Original-Received: from dhlpc061 ([10.114.112.181] [10.114.112.181]) by relay21.aps.necel.com with ESMTP; Wed, 4 Mar 2009 14:19:38 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id C4A4C52E259; Wed, 4 Mar 2009 14:19:38 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop Original-Lines: 42 X-detected-operating-system: by monty-python.gnu.org: 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:109433 Archived-At: GNU Emacs 23.0.91.8 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.7) of 2009= -03-04 on dhlpc061 I'm kind of confused how emacs chooses alternative fonts to display funny characters. For instance, try this: (1) Start "HOME=3D/tmp emacs -Q" (2) Insert this string in *scratch*: =E2=9D=A6=E2=8B=AE (those two characters are \u2766, "FLORAL HEART", and \u22ee, "VERTICAL ELLIPSIS") (3) On my system, which is debian unstable, the default font used is "Dejuavu Sans Mono"; using that font, the "FLORAL HEART" can be displayed using the default font, and "VERTICAL ELLIPSIS" is displayed using a different font, "-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1" (4) Now, I use the "Options > Set Default Font" menu to change the default font to "Liberation Mono" (this is a commonly installed free font, but any font with poor coverage of funny characters will seems to give the same result...). (5) Liberation Mono does not have either of those characters, but what happens is: the "FLORAL HEART" character is now displayed as an empty box, but the "VERTICAL ELLIPSIS" character continues to be displayed using the "mutt-clearlyu" font. Shouldn't emacs continue to use Dejavu Sans Mono to display "FLORAL HEART", given that the font clearly contains it, and emacs clearly knows (well, knew) that fact? =20=20 Thanks, -Miles --=20 =3D=3D=3D=3D=3D (^o^; (())) *This is the cute octopus virus, please copy it into your sig so it can spr= ead.