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: Display problems with non-ascii characters Date: Wed, 08 Oct 2008 20:43:48 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223466291 31610 80.91.229.12 (8 Oct 2008 11:44:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 11:44:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 08 13:45:45 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 1KnXTq-0002VW-VB for ged-emacs-devel@m.gmane.org; Wed, 08 Oct 2008 13:45:27 +0200 Original-Received: from localhost ([127.0.0.1]:48920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnXSm-0008TA-Rz for ged-emacs-devel@m.gmane.org; Wed, 08 Oct 2008 07:44:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnXSX-0008Qi-Nm for emacs-devel@gnu.org; Wed, 08 Oct 2008 07:44:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnXSO-0008NO-HP for emacs-devel@gnu.org; Wed, 08 Oct 2008 07:43:58 -0400 Original-Received: from [199.232.76.173] (port=46638 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnXSO-0008N4-0j for emacs-devel@gnu.org; Wed, 08 Oct 2008 07:43:56 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:49920) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnXSN-0006At-A1 for emacs-devel@gnu.org; Wed, 08 Oct 2008 07:43:55 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m98BhntR019584; Wed, 8 Oct 2008 20:43:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m98BhnNT024637; Wed, 8 Oct 2008 20:43:49 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id m98BhmBi006171; Wed, 8 Oct 2008 20:43:48 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KnXSG-0002Sd-In; Wed, 08 Oct 2008 20:43:48 +0900 In-reply-to: (message from Sascha Wilde on Wed, 08 Oct 2008 09:46:23 +0200) X-detected-operating-system: 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:104417 Archived-At: In article , Sascha Wilde writes: >>>>> 3. ; evaluate: >>>>> (set-face-font 'default "terminus 12") >>>>> ; everything looks fine, but the umlauts disappeared and when you >>>>> ; move the text cursor above them even the cursor disappears. >>> > >>> > This bug doesn't happen for me. > > >>> Stange enough: for me too (nightly cvs builds, so this is no more the >>> same CVS head), but in normal use the problem is still there... > > > > Which font is used in that "normal use"? C-u C-x = tells > > the font name. > x:-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso8859-1 You at first wrote that in the case of "terminus 12", the font used was: x:-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1 It's different from the above only in CHARSET_REGISTRY field, but it had the problem. Now you wrote that the case of "terminus 12" doesn't show a problem but "normal use" shows the problem. Does it mean that the font used for "terminus 12" is different now? >>> For 3 (Terminus 12): >>> x:-xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1 >>> and for 4 (Terminus 11): >>> x:-xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 > > > > It seems that your display has the different resolution than > > mine (100dpi). What resolution is yours (xdpyinfo command > > tells it)? > resolution: 96x96 dots per inch Ah, that's why the 14 dots font is selected for terminus 11 point in your case. Your 96 DPI case: (* 96 (/ 11 72.27)) => 14.6 ==> 14-dot font matches best (* 96 (/ 12 72.27)) => 15.9 ==> 16-dot font matches best My 100 DPI case (* 100 (/ 11 72.27)) => 15.2 ==> 16-dot font matches best (* 100 (/ 12 72.27)) => 16.6 ==> 16-dot font matches best --- Kenichi Handa handa@ni.aist.go.jp