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: 23.0.60; wrong glyph widths of some Unicode codepoints Date: Fri, 23 May 2008 21:25:40 +0900 Message-ID: References: <8763t6r1tp.fsf@physik.rwth-aachen.de> <87zlqhv71h.fsf@physik.rwth-aachen.de> <87zlqhiej5.fsf@localhorst.mine.nu> 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: ger.gmane.org 1211545571 11076 80.91.229.12 (23 May 2008 12:26:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 12:26:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Hansen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 23 14:26:51 2008 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 1JzWME-0007Xc-BD for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 14:26:50 +0200 Original-Received: from localhost ([127.0.0.1]:36496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzWLT-0001dQ-MC for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 08:26:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzWLO-0001c9-3l for emacs-devel@gnu.org; Fri, 23 May 2008 08:25:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzWLI-0001ZF-QU for emacs-devel@gnu.org; Fri, 23 May 2008 08:25:57 -0400 Original-Received: from [199.232.76.173] (port=60046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzWLI-0001Z7-L7 for emacs-devel@gnu.org; Fri, 23 May 2008 08:25:52 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:46914) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzWLI-00058a-BP for emacs-devel@gnu.org; Fri, 23 May 2008 08:25:52 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m4NCPfmI010435; Fri, 23 May 2008 21:25:41 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m4NCPf8h021629; Fri, 23 May 2008 21:25:41 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m4NCPe9r003257; Fri, 23 May 2008 21:25:40 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JzWL6-0002dN-6c; Fri, 23 May 2008 21:25:40 +0900 In-reply-to: <87zlqhiej5.fsf@localhorst.mine.nu> (message from David Hansen on Fri, 23 May 2008 10:57:18 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: 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:97581 Archived-At: In article <87zlqhiej5.fsf@localhorst.mine.nu>, David Hansen writes: > Not that it solves any Emacs devel related problems but maybe the this > specific usage problem... > On Fri, 23 May 2008 16:55:53 +0900 Kenichi Handa wrote: > > Ah! "dejavu sans mono" and "bitstream vera sans mono" > > happen to have the same metrics. > For the "common" characters they are the same. The DejaVu fonts are > just the Bitstream fonts plus additional glyphs. Ah! But, then why does fontconfig put higher priority to bistream fonts? In my environment (debian etch), /etc/fonts/conf.avail/60-latin.conf has these lines: monospace Bitstream Vera Sans Mono DejaVu Sans Mono [...] > > BTW, if you know that you want "dejavu sans mono" for them, > > how about using it as the fallback font as this: > Or use only the DejaVu fonts. > BTW Kenichi: Do you know urxvt aka rxvt-unicode? It's a terminal > emulator for X that claims to have good unicode support. IMHO (not that > I'm in any way qualified ;) it's doing a very good job in picking the > right fonts. It supports xft as well as old school X fonts. I've just tried rxvt-unicode to display HELLO and UTF-8-demo.txt. In my environment, it seems that the latest Emacs does better job. But, at least, rxvt-unicode aligns characters better. It's perhaps because rxvt-unicode pad some space for that. --- Kenichi Handa handa@ni.aist.go.jp